https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125010
--- Comment #4 from Jeffrey A. Law <law at gcc dot gnu.org> --- I suspect there is no great answer here. Depending on context the +1 or |1 could be preferred. I'd tend to believe the +1 form is marginally better as I believe there's be more opportunities to combine with other nearby arithmetic ops vs nearby logical ops. So it seems reasonable to gave gimple steer that way. Once we get into RTL we can potentially look at rewriting some cases into |1 forms if that is better for the target.
