This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Is (set (subreg:SI (reg:HI) 0) (const_int)) valid rtx?
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 02 Jun 2003 07:53:13 -0400 (EDT)
- Subject: Is (set (subreg:SI (reg:HI) 0) (const_int)) valid rtx?
Hi,
Is the following valid rtx?
(set (subreg:SI (reg:HI ...) 0)
(const_int ...))
Here (reg:HI ...) is a pseudo register. If this is valid, is the
register allocator supposed to allocate an SImode hard register for
(subreg:SI (reg:HI) 0)? Or should this be canonicalized to the
following?
(set (reg:HI ...)
(const_int ...))
Thanks,
Kazu Hirata