Re: [PATCH] middle-end: check that both sides of complex expression is a mul.

2021-11-18 Thread Richard Biener via Gcc-patches
On November 18, 2021 5:57:45 PM GMT+01:00, Tamar Christina wrote: >Hi All, > >Both sides of the VEC_PERM_EXPR need to be a MULT but the check >was accidentally checking if both sides are a mul. > >The FMS case would be handled by the validate_multiplication but >this makes the requirement more ex

[PATCH] middle-end: check that both sides of complex expression is a mul.

2021-11-18 Thread Tamar Christina via Gcc-patches
Hi All, Both sides of the VEC_PERM_EXPR need to be a MULT but the check was accidentally checking if both sides are a mul. The FMS case would be handled by the validate_multiplication but this makes the requirement more explicit and we exit earlier. Bootstrapped Regtested on aarch64-none-linux-g