[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
Tue Jun 18 10:16:18 PDT 2024


================
@@ -6106,6 +6106,56 @@ struct AAPointerInfo : public AbstractAttribute {
     Type *Ty;
----------------
vidsinghal wrote:

do you mean 

```
struct AAPointerInfo : public AbstractAttribute {
  protected:
    AAPointerInfo(const IRPosition &IRP) : AbstractAttribute(IRP) {}
```

This would mean that I can't use AApointerinfo in AAallocationinfo unless I inherit from AApointerinfo in allocation info?


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


More information about the llvm-commits mailing list