[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
Fri Jun 21 08:56:51 PDT 2024


================
@@ -6120,6 +6170,9 @@ struct AAPointerInfo : public AbstractAttribute {
   virtual const_bin_iterator begin() const = 0;
   virtual const_bin_iterator end() const = 0;
   virtual int64_t numOffsetBins() const = 0;
+  virtual void dumpState(raw_ostream &O) const = 0;
----------------
shiltian wrote:

Like I mentioned before, there are pure virtual functions, so we will want to mark the c'tor of `AAPointerInfo` to be `protected`.

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


More information about the llvm-commits mailing list