[polly] [llvm] [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 06:37:40 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:

In my rebase, I split off the change to switch to `Loc.getWithNewSize` as commit 91668131a016. If OK, could you precommit this on main on my behalf?

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


More information about the llvm-commits mailing list