[cft] subreg validation round 2

Richard Henderson rth@redhat.com
Fri Nov 19 22:46:00 GMT 2004


On Fri, Nov 19, 2004 at 11:24:40PM +0100, Eric Botcazou wrote:
> Would you see any advantage in manually building the hard regs within the 
> splitters?

No.  Indeed, it can hurt, since using gen_lowpart helps arrange
for proper debugging information to be generated.  I.e. it updates
the REG_ATTRS information properly.

I'm sure there's lots of backends that could do well to not JUST
call gen_rtx_REG (mode, REGNO (x)).  Using gen_rtx_REG_offset 
instead would be much preferred.


r~



More information about the Gcc mailing list