[llvm] [Attributor] Change allocation size and load/store offsets using AAPointerInfo for Alloca instructions and keep track of instructions causing an Access (PR #72029)

Vidush Singhal via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 26 19:30:16 PST 2025


================
@@ -231,13 +231,13 @@ entry:
   %add15 = add nsw i32 %i10, %i11
   %i316 = getelementptr inbounds %struct.S, ptr %agg.result, i64 0, i32 2
   store i32 %add15, ptr %i316, align 4, !tbaa !14
-  call void @llvm.lifetime.end.p0(ptr nonnull %s)
+  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %s)
   ret void
 }
 
-declare void @llvm.lifetime.start.p0(ptr nocapture)
+declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture)
----------------
vidsinghal wrote:

I moved the unrelated changes to this file to the top of the commit list. 

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


More information about the llvm-commits mailing list