[PATCH] D86275: [DSE,MemorySSA] Use BatchAA for AA queries.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 03:00:08 PDT 2020


fhahn created this revision.
fhahn added reviewers: asbirlea, nikic, george.burgess.iv.
Herald added subscribers: hiraditya, Prazek.
Herald added a project: LLVM.
fhahn requested review of this revision.

We can use BatchAA to avoid some repeated AA queries. We only remove
stores, so I think we will get away with using a single BatchAA instance
for the complete run.

The changes in AliasAnalysis.h mirror the changes in D85583 <https://reviews.llvm.org/D85583>.

The change improves compile-time by roughly 1%.
http://llvm-compile-time-tracker.com/compare.php?from=67ad786353dfcc7633c65de11601d7823746378e&to=10529e5b43809808e8c198f88fffd8f756554e45&stat=instructions

This is part of the patches to bring down compile-time to the level
referenced in
http://lists.llvm.org/pipermail/llvm-dev/2020-August/144417.html


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86275

Files:
  llvm/include/llvm/Analysis/AliasAnalysis.h
  llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86275.286760.patch
Type: text/x-patch
Size: 10049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200820/51b423d3/attachment.bin>


More information about the llvm-commits mailing list