https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95685
--- Comment #2 from Richard Biener ---
I wonder why CSE2 (after loop) does not catch the redundancies at least. Hmm,
guess EBB is too local? But then there's gcse2?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95685
--- Comment #1 from Jim Wilson ---
The problem with the constant isn't apparent until we reach RTL generation and
see that it requires two instructions to load. Then once in RTL optimization
passes we have mostly block local optimizations that a