Is (set (subreg:SI (reg:HI) 0) (const_int)) valid rtx?

Richard Henderson rth@redhat.com
Tue Jun 3 05:24:00 GMT 2003


On Mon, Jun 02, 2003 at 10:21:29PM -0400, Kazu Hirata wrote:
> I had "before register allocation" in mind and assumed a target
> architecture allows (set (reg:SI) (const_int)).  Given these, would
> you also say that the validity depends on WORD_REGISTER_OPERATIONS as
> Joern suggested?

No, I wouldn't think so.  Seems like a "normal" case of
a paradoxical subreg to me.  It will require less than
desirable work-arounds from reload, if it makes it that
far, but it should *work*.


r~



More information about the Gcc mailing list