This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Copy prop into virtual operands
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: 29 Jul 2003 11:07:07 -0400
- Subject: Re: [tree-ssa] Copy prop into virtual operands
- Organization: Red Hat Canada
- References: <200307291456.h6TEuo6I011728@speedy.slc.redhat.com>
On Tue, 2003-07-29 at 10:56, law@redhat.com wrote:
> This patch implements copy propagation into virtual operands. Copy
> propagation into virtual operands allows us to detect a number of
> redundant loads that we were missing.
>
Excellent!
> The only "tricky" parts of this patch are:
>
> 1. We only propagate SSA_NAMEs in the VUSES/VDEFs. Propagating a constant
> into a virtual operand seems extremely wrong to me.
>
Right. But I don't see how we would get into this situation. After
all, we only do constant propagation on real operands.
Diego.