[PATCH] D85583: [MemDep] Use BatchAA when computing pointer dependencies
Alina Sbirlea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 16:24:16 PDT 2020
asbirlea accepted this revision.
asbirlea added a comment.
This revision is now accepted and ready to land.
Neat improvement. Happy to see BatchAA benefiting this usecase.
================
Comment at: llvm/lib/Analysis/MemoryDependenceAnalysis.cpp:365
BasicBlock *BB, Instruction *QueryInst, unsigned *Limit) {
+ BatchAAResults BatchAA(AA);
bool isInvariantLoad = false;
----------------
Add comment on why using BatchAA and caching AA results is valid (no IR changes).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85583/new/
https://reviews.llvm.org/D85583
More information about the llvm-commits
mailing list