diff options
author | Nikita Popov <npopov@redhat.com> | 2022-12-05 16:10:33 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-12-06 08:29:11 +0100 |
commit | 48edb906d52899546317022c70cd674e4c06217e (patch) | |
tree | 67bfa8acd43dd17202e1cb7631e67213dc064e62 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 4c809de33b9fd8ebd2b4f859b670e9222636d747 (diff) | |
download | llvm-48edb906d52899546317022c70cd674e4c06217e.zip llvm-48edb906d52899546317022c70cd674e4c06217e.tar.gz llvm-48edb906d52899546317022c70cd674e4c06217e.tar.bz2 |
[MemorySSA] Use BatchAA for clobber walker
While MemorySSA use optimization was already using BatchAA, the
publicly exposed MSSA walkers were using plain AAResults. This is
not great, because it is expected that clobber walking will make
repeated AA queries.
This patch makes the clobber API accept a BatchAAResults instance.
The plain APIs are kept as wrappers and will create a BatchAAResults
instance for the duration of the query. In the future, the explicit
BatchAAResults arguments will be used to share AA results across
queries, not just within one query.
Differential Revision: https://reviews.llvm.org/D136164
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions