This is an archive of the discontinued LLVM Phabricator instance.

[AliasAnalysis] Use batch AA in AliasSetTracker.
Needs ReviewPublic

Authored by asbirlea on Mar 15 2019, 3:23 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Make AliasSetTracker use an internal batch alias analysis.
With this patch, it is no longer correct to make IR changes and then add instructions to the AST.
The caching done in LICM is correct provided we create a new batch AA when reusing (moving) the AST from an inner loop (this is done with setAliasAnalysis).

Diff Detail