[RFD] Simplifying subregs in LRA

Eric Botcazou ebotcazou@adacore.com
Fri Feb 3 17:18:00 GMT 2017


> If a MEM subreg is neither simplified to an outermode MEM nor reloaded
> in innermode then I believe LRA will never resolve the subreg.  Even if that
> is not true I'm fairly certain the addition of the code has changed
> behaviour and that the change is not well understood, as explained above.

Fair enough, let's remove the "return false" then.

> I hadn't spotted that table, very helpful, thanks. The other architectures
> I listed may be helped in their transition to LRA.  I guess they are
> attempting to move given optional LRA support.

You can send me the patch(es) in advance, I'll give it a try on SPARC.

-- 
Eric Botcazou



More information about the Gcc mailing list