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.
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?
(I'm no expert in these areas.)
Kazu Hirata