https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125010
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- I suspect a | 1 should be turned into a + 1 if nonzero bits indicate bit zero is zero? Then the rest should follow. The question is whether we should treat | 1 or + 1 as canonical for known-no-carry? That said, I'd not add dozens of match.pd for the two-step simplification.
