Re: [PATCH] match.pd: Fix fneg/fadd optimization [PR109583]

2023-04-21 Thread Richard Biener via Gcc-patches
On Fri, 21 Apr 2023, Jakub Jelinek wrote: > Hi! > > The following testcase ICEs on x86, foo function since my r14-22 > improvement, but bar already since r13-4122. The problem is the same, > in the if expression related_vector_mode is called and that starts with > gcc_assert (VECTOR_MODE_P

[PATCH] match.pd: Fix fneg/fadd optimization [PR109583]

2023-04-21 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs on x86, foo function since my r14-22 improvement, but bar already since r13-4122. The problem is the same, in the if expression related_vector_mode is called and that starts with gcc_assert (VECTOR_MODE_P (vector_mode)); but nothing in the fneg/fadd match.pd