[Mlir-commits] [mlir] [MLIR] Add DIExpression to LLVM dialect (PR #72462)

Billy Zhu llvmlistbot at llvm.org
Thu Nov 16 09:10:56 PST 2023


================
@@ -155,15 +155,15 @@ llvm.func @addr(%arg: i64) {
   %allocCount = llvm.mlir.constant(1 : i32) : i32
   %alloc = llvm.alloca %allocCount x i64 : (i32) -> !llvm.ptr
 
-  // CHECK: llvm.intr.dbg.declare #[[VAR0]] = %[[ALLOC]]
-  llvm.intr.dbg.declare #var0 = %alloc : !llvm.ptr
+  // CHECK: llvm.intr.dbg.value #[[VAR0]] = %[[ALLOC]]
+  llvm.intr.dbg.value #var0 = %alloc : !llvm.ptr
----------------
zyx-billy wrote:

oops, I might've accidentally changed this. Will revert, thanks!

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


More information about the Mlir-commits mailing list