This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] tree-ssa-ccp.c: Propagate even more ADDR_EXPRs.
On Tue, 2005-05-31 at 12:58 -0400, Kazu Hirata wrote:
> Hi Jeff,
>
> > I'd be surprised if we saw a difference as well. About the only thing
> > that's done by forwprop.c that isn't done by CCP is some trivial
> > cost analysis -- ie, don't propagate an ADDR_EXPR into a loop nest,
> > don't propagate to multiple use sites (which undoes CSE).
>
> Would propagating invariant ADDR_EXPRs (regardless of the number of
> their immediate uses) help alias analysis and/or dependence analysis?
Not really with the new aliaser, unless you are propagating invariants
that look conditional but are really unconditional, in which case it
will help)
It may help call clobbering though.