Re: [PATCH] cfgexpand: Workaround CSE of ADDR_EXPRs in VAR_DECL partitioning [PR113372]

2024-01-16 Thread Jakub Jelinek
On Tue, Jan 16, 2024 at 10:00:09AM +0100, Richard Biener wrote: > I'm not sure how fancy we need to get with this workaround, so > changing to INTEGRAL_TYPE_P works for me. I'll go for it. BTW, I've also built linux kernel allyesconfig, and in there per the statistics gathering patch there are so

Re: [PATCH] cfgexpand: Workaround CSE of ADDR_EXPRs in VAR_DECL partitioning [PR113372]

2024-01-16 Thread Richard Biener
On Tue, 16 Jan 2024, Jakub Jelinek wrote: > Hi! > > The following patch adds a quick workaround to bugs in VAR_DECL > partitioning. > The problem is that there is no dependency between ADDR_EXPRs of local > decls and CLOBBERs of those vars, so VN can CSE uses of ADDR_EXPRs > (including ivopts int

[PATCH] cfgexpand: Workaround CSE of ADDR_EXPRs in VAR_DECL partitioning [PR113372]

2024-01-16 Thread Jakub Jelinek
Hi! The following patch adds a quick workaround to bugs in VAR_DECL partitioning. The problem is that there is no dependency between ADDR_EXPRs of local decls and CLOBBERs of those vars, so VN can CSE uses of ADDR_EXPRs (including ivopts integral variants thereof), which can break add_scope_confli