[llvm] [Attributor] Change allocation size and load/store offsets using AAPointerInfo for Alloca instructions and keep track of instructions causing an Access (PR #72029)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 25 08:55:39 PST 2025
================
@@ -6055,15 +6175,17 @@ struct AAPointerInfo : public AbstractAttribute {
/// An access description.
struct Access {
Access(Instruction *I, int64_t Offset, int64_t Size,
- std::optional<Value *> Content, AccessKind Kind, Type *Ty)
+ std::optional<Value *> Content, AccessKind Kind, Type *Ty,
+ AccessPathSetTy *AccessPaths)
----------------
shiltian wrote:
It is not a good idea to do a pointer to `SmallPtrSet`. Why not using reference here?
https://github.com/llvm/llvm-project/pull/72029
More information about the llvm-commits
mailing list