[llvm] [SROA] Support dbg_declare_value (PR #225902)

Scott Linder via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 13:12:05 PDT 2026


================
@@ -204,6 +204,21 @@ entry:
   ret i32 %2
 }
 
+; COMMON-LABEL: @fun5
+define i32 @fun5(ptr %source) !dbg !70 {
+entry:
+  %t = alloca %struct.four, align 4
+    #dbg_declare_value(ptr %t, !74, !DIExpression(), !75)
----------------
slinder1 wrote:

I don't have any ideas off hand, but I can try to look a bit deeper next week

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


More information about the llvm-commits mailing list