[llvm] [BatchAA] Fix a reference to a non-exising `pointsToConstantMemory` overload (NFC) (PR #82173)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 18 08:26:30 PST 2024
================
@@ -635,7 +633,7 @@ class BatchAAResults {
return AA.alias(LocA, LocB, AAQI);
}
bool pointsToConstantMemory(const MemoryLocation &Loc, bool OrLocal = false) {
- return AA.pointsToConstantMemory(Loc, AAQI, OrLocal);
+ return AA.pointsToConstantMemory(Loc, OrLocal);
----------------
nikic wrote:
This should call getModRefInfoMask with AAQI instead.
https://github.com/llvm/llvm-project/pull/82173
More information about the llvm-commits
mailing list