[Mlir-commits] [mlir] [mlir][debug] Convert DbgIntrOp to DebugRecords directly. (PR #154926)
Stephen Tozer
llvmlistbot at llvm.org
Fri Aug 22 05:25:52 PDT 2025
================
@@ -711,6 +695,28 @@ def LLVM_DbgDeclareOp : LLVM_DbgIntrOp<"dbg.declare", "addr", [
LLVM_DILocalVariableAttr:$varInfo,
DefaultValuedAttr<LLVM_DIExpressionAttr, "{}">:$locationExpr
);
+ let llvmBuilder = [{
+ // Debug intrinsics without debug locations are invalid.
----------------
SLTozer wrote:
May as well update the terminology while passing by.
```suggestion
// Debug records without debug locations are invalid.
```
https://github.com/llvm/llvm-project/pull/154926
More information about the Mlir-commits
mailing list