https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106602

--- Comment #9 from Vineet Gupta <vineetg at rivosinc dot com> ---
(In reply to Jeffrey A. Law from comment #7)
> There's some code in combine that's supposed to take advantage of REG_EQUAL
> notes which is supposed to help with this kind of scenario.  Digging into
> that might help.

Awesome, thx for the pointer Jeff. 

Indeed combine has a note processing fallback in the end. RV backend is got
generating a note for the const split case (1 << 38). Let me see if I can fix
that.

Reply via email to