[llvm] [Attributor] Change allocation size and load/store offsets using AAPointerInfo for Alloca instructions (PR #72029)

Vidush Singhal via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 26 13:33:38 PDT 2025


================
@@ -6181,11 +6278,53 @@ struct AAPointerInfo : public AbstractAttribute {
       }
     }
 
+    // Merge two access paths into one.
+    void mergeAccessPaths(const AccessPathSetTy *AccessPathsNew) const {
+      for (auto *Path : *AccessPathsNew)
----------------
vidsinghal wrote:

yes it can be an empty set but not a nullptr, since i ensure to make memory for it.

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


More information about the llvm-commits mailing list