[llvm] [polly] [AST] Don't merge memory locations in AliasSetTracker (PR #65731)

Bruno De Fraine via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 14:59:25 PST 2023


================
@@ -671,7 +671,7 @@ class AccessAnalysis {
   /// Register a store.
   void addStore(MemoryLocation &Loc, Type *AccessTy) {
     Value *Ptr = const_cast<Value*>(Loc.Ptr);
-    AST.add(Ptr, LocationSize::beforeOrAfterPointer(), Loc.AATags);
+    AST.add(Loc.getWithNewSize(LocationSize::beforeOrAfterPointer()));
----------------
brunodf-snps wrote:

Commit rebased as 071f0b9f40a7 (but exactly the same diff).

https://github.com/llvm/llvm-project/pull/65731


More information about the llvm-commits mailing list