https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111594
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Severity|normal |enhancement Status|UNCONFIRMED |NEW Last reconfirmed| |2023-09-26 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The SVE one was added with r12-4402-g62b505a4d5fc89: ``` /* Detect simplication for a conditional reduction where a = mask1 ? b : 0 c = mask2 ? d + a : d is turned into c = mask1 && mask2 ? d + b : d. */ (simplify (IFN_COND_ADD @0 @1 (vec_cond @2 @3 integer_zerop) @1) (IFN_COND_ADD (bit_and @0 @2) @1 @3 @1)) ``` Most likely should do the similar thing for IFN_COND_LEN_ADD too.