This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch: kill_value: handle subregs that won't simplify
On Tue, Jan 11, 2005 at 10:04:05AM -0800, Richard Henderson wrote:
> On Tue, Jan 11, 2005 at 01:58:11PM -0400, Aldy Hernandez wrote:
> > /* SUBREGS are supposed to have been eliminated by now. But some
> > ports, e.g. i386 sse, use them to smuggle vector type information
> > through to instruction selection. Each such SUBREG should simplify,
> > ! so if we get a NULL, we look inside the original register. */
> >
> > if (GET_CODE (x) == SUBREG)
> > ! {
> > ! x = simplify_subreg (GET_MODE (x), SUBREG_REG (x),
> > ! GET_MODE (SUBREG_REG (x)), SUBREG_BYTE (x));
> > ! if (x == NULL_RTX)
> > ! x = SUBREG_REG (orig_rtx);
>
> This is ok, except that the comment is now totally wrong.
As discussed on IRC, I have removed the comment altogether.
Committing to mainline and 3.4-e500 branch.
Thank you.