Re: [PATCH] Fold more constants during veclower pass.

2021-08-19 Thread Jeff Law via Gcc-patches
On 8/19/2021 9:53 AM, Roger Sayle wrote: An issue with a backend patch I've been investigating has revealed a missed optimization opportunity during GCC's vector lowering pass. An unrecognized insn for "(set (reg:SI) (not:SI (const_int 0))" revealed that not only was my expander not expecting

[PATCH] Fold more constants during veclower pass.

2021-08-19 Thread Roger Sayle
An issue with a backend patch I've been investigating has revealed a missed optimization opportunity during GCC's vector lowering pass. An unrecognized insn for "(set (reg:SI) (not:SI (const_int 0))" revealed that not only was my expander not expecting a NOT with a constant operand, but also that