Interprocedural points-to analysis
Richard Guenther
richard.guenther@gmail.com
Fri Sep 24 14:23:00 GMT 2010
On Thu, Sep 23, 2010 at 11:31 PM, Hongtao <yu171@purdue.edu> wrote:
> Hi All,
>
> Has the interprocedural points-to analysis(pass-ipa-pta) been put into
> practice, i.e. using the ipa points-to set to aid optimizations?
Yes, it improves alias-analysis. The interface to optimizers is the same as
local points-to analysis. In addition to that it computes IPA mod-ref
information and stores it at call sites. That information is used by the
alias-oracle as well.
There are testcases in gcc.dg/ipa/ipa-pta-*.c (they are mostly correctness
testcases but also a few optimization ones).
Richard.
> Thanks,
> Hongtao
>
More information about the Gcc
mailing list