Re: [PATCH] match: Don't sink comparisons into vec_cond operands.

2023-09-12 Thread Richard Biener via Gcc-patches
On Fri, Sep 8, 2023 at 7:55 PM Robin Dapp via Gcc-patches wrote: > > Hi, > > on riscv gcc.dg/pr70252.c ICEs at gimple-isel.cc:283. This is because > we created the gimple statement > > mask__7.36_170 = VEC_COND_EXPR }>; > > during vrp2. > > What happens is that, starting with > maskdest = (v

[PATCH] match: Don't sink comparisons into vec_cond operands.

2023-09-08 Thread Robin Dapp via Gcc-patches
Hi, on riscv gcc.dg/pr70252.c ICEs at gimple-isel.cc:283. This is because we created the gimple statement mask__7.36_170 = VEC_COND_EXPR ; during vrp2. What happens is that, starting with maskdest = (vec_cond mask1 1 0) >= (vec_cond mask2 1 0) we fold to maskdest = mask1 >= (vec_cond (ma