[llvm] [RemoveDI] Handle DPValues in SROA (PR #74089)

Stephen Tozer via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 8 05:27:56 PST 2023


================
@@ -55,3 +56,4 @@ attributes #1 = { nounwind readnone speculatable }
 ; CHECK-NOT:  = alloca [9 x i32]
 ; CHECK-NOT:  call void @llvm.dbg.declare(metadata ptr
 
+; CHECK: declare void @llvm.dbg.declare(metadata, metadata, metadata)
----------------
SLTozer wrote:

Does this become necessary as part of the changes to this test, or is this purely a drive-by addition?

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


More information about the llvm-commits mailing list