https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92342
--- Comment #5 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- So if the AND-based idiom is now preferred, shouldn't the if-then-else variant be transformed into it? Similarly for IOR, when we get (IOR (NEG (<cond-op>)) (reg)) from (IF_THEN_ELSE (<cond-op>) (reg) (const_int -1))