[Mlir-commits] [mlir] [mlir] Add support for DIGlobalVariable and DIGlobalVariableExpression (PR #73367)
Justin Wilson
llvmlistbot at llvm.org
Fri Nov 24 23:16:00 PST 2023
================
@@ -455,7 +456,7 @@ def LLVM_DbgDeclareOp : LLVM_DbgIntrOp<"dbg.declare", "addr",
let arguments = (ins
LLVM_AnyPointer:$addr,
LLVM_DILocalVariableAttr:$varInfo,
- DefaultValuedAttr<LLVM_DIExpressionAttr, "std::nullopt">:$locationExpr
+ OptionalAttr<LLVM_DIExpressionAttr>:$locationExpr
----------------
waj334 wrote:
Figured it out and now it has a working default.
https://github.com/llvm/llvm-project/pull/73367
More information about the Mlir-commits
mailing list