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

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 17:26:12 PDT 2024


================
@@ -1084,6 +1039,15 @@ struct AAPointerInfoImpl
     return State::numOffsetBins();
   }
 
+  virtual const Access &getBinAccess(unsigned Index) const override {
+    return getAccess(Index);
+  }
+
+  virtual const DenseMap<Value *, OffsetInfo> &
----------------
shiltian wrote:

Does it need to be `virtual`? Do we expect it to be overridden?

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


More information about the llvm-commits mailing list