[PATCH] D138014: [AST] Restrict AliasSetTracker to immutable IR

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 15 02:09:19 PST 2022


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

This restricts usage of AliasSetTracker to IR that does not change. We used to use it during LICM where the underlying IR could change, but remaining uses all use AST as part of a separate analysis phase.

This is split out from D137955 <https://reviews.llvm.org/D137955>, which makes use of the new guarantee to switch to BatchAA.


https://reviews.llvm.org/D138014

Files:
  llvm/include/llvm/Analysis/AliasSetTracker.h
  llvm/lib/Analysis/AliasSetTracker.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138014.475386.patch
Type: text/x-patch
Size: 6316 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221115/50a53755/attachment.bin>


More information about the llvm-commits mailing list