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

Markus Böck llvmlistbot at llvm.org
Thu Nov 16 00:32:08 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
----------------
zero9178 wrote:

Why is this change here necessary?

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


More information about the Mlir-commits mailing list