Re: [PATCH]middle-end: Fix phi-ssa assertion triggers. [PR106519]

2022-08-04 Thread Richard Biener via Gcc-patches
On Thu, 4 Aug 2022, Tamar Christina wrote: > Hi All, > > The failures on -m32 on x86 show that the checks at the top level in > tree_ssa_phiopt_worker aren't enough for diamond_p. > > In minmax_replacement we perform the additional validation of the shape but by > then it's too late to catch the

[PATCH]middle-end: Fix phi-ssa assertion triggers. [PR106519]

2022-08-04 Thread Tamar Christina via Gcc-patches
Hi All, The failures on -m32 on x86 show that the checks at the top level in tree_ssa_phiopt_worker aren't enough for diamond_p. In minmax_replacement we perform the additional validation of the shape but by then it's too late to catch these case. This patch changes it so we check that for a dia