This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is (set (subreg:SI (reg:HI) 0) (const_int)) valid rtx?
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~