Re: [PATCH] match.pd: Fix sve/vcond_3.c

2021-04-08 Thread Jeff Law via Gcc-patches
On 4/8/2021 8:06 AM, Richard Sandiford via Gcc-patches wrote: The sve/vcond_3.c tests had started to fail after PR97690/99305, because we were generating: a = VEC_COND_EXPR ; b = a << 15; instead of: a = VEC_COND_EXPR ; We already have a match.pd rule to handle this kind of thing,

[PATCH] match.pd: Fix sve/vcond_3.c

2021-04-08 Thread Richard Sandiford via Gcc-patches
The sve/vcond_3.c tests had started to fail after PR97690/99305, because we were generating: a = VEC_COND_EXPR ; b = a << 15; instead of: a = VEC_COND_EXPR ; We already have a match.pd rule to handle this kind of thing, but it didn't handle shifts. Tested on aarch64-linux-gnu. OK to ins