[Bug rtl-optimization/59999] [4.9 Regression] Sign extension in loop regression blocks generation of zero overhead loop

paulo@matos-sorge.com gcc-bugzilla@gcc.gnu.org
Fri Jan 31 12:04:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59999

--- Comment #4 from Paulo J. Matos <paulo@matos-sorge.com> ---
(In reply to Richard Biener from comment #3)
> Yes, I think that the IV choice merely shows that we miss to optimize the
> extension - which would be somewhere in the RTL opt pipeline.

Makes sense. My first instinct was to do it in expand but since expand does one
gimple statement at a time it might be too much for it to handle since it
probably has to detect the sign extend and promote the type of the register if
there are no conflicting conditions. 

If you suggest where to do this kind of thing I can give it a try.

Thanks.



More information about the Gcc-bugs mailing list