[PATCH] D137955: [AST] Make AliasSetTracker work on BatchAA

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 14 07:58:59 PST 2022


nikic created this revision.
Herald added a reviewer: bollu.
Herald added subscribers: jeroen.dobbelaere, asbirlea, hiraditya.
Herald added a project: All.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Switch AliasSetTracker to use BatchAAResults instead of AAResults. This means that AliasSetTracker can only be used on IR that does not change (at least without further justification). The last user of AST with changing IR was LICM and has since been removed. Everything else just needs it in a separate analysis phase.

The primary motivation for this change is to have a single BatchAA instance on which everything in AST works, which makes a followup patch simpler.


https://reviews.llvm.org/D137955

Files:
  llvm/include/llvm/Analysis/AliasSetTracker.h
  llvm/include/llvm/LinkAllPasses.h
  llvm/lib/Analysis/AliasSetTracker.cpp
  llvm/lib/Analysis/LoopAccessAnalysis.cpp
  llvm/lib/Transforms/Scalar/LICM.cpp
  llvm/lib/Transforms/Scalar/LoopRerollPass.cpp
  llvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp
  llvm/unittests/Analysis/AliasSetTrackerTest.cpp
  polly/include/polly/ScopDetection.h
  polly/lib/Analysis/ScopBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137955.475150.patch
Type: text/x-patch
Size: 15673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221114/10991cd9/attachment.bin>


More information about the llvm-commits mailing list