[Mlir-commits] [mlir] [mlir] Use LDBG to replace LLVM_DEBUG (NFC) (PR #166733)
Mehdi Amini
llvmlistbot at llvm.org
Thu Nov 6 01:19:32 PST 2025
================
@@ -271,20 +272,18 @@ int64_t ValueBoundsConstraintSet::insert(Value value,
assert(!valueDimToPosition.contains(valueDim) && "already mapped");
int64_t pos = isSymbol ? cstr.appendVar(VarKind::Symbol)
: cstr.appendVar(VarKind::SetDim);
- LLVM_DEBUG(llvm::dbgs() << "Inserting constraint set column " << pos
- << " for: " << value
- << " (dim: " << dim.value_or(kIndexValue)
- << ", owner: " << getOwnerOfValue(value)->getName()
- << ")\n");
+ LDBG() << "Inserting constraint set column " << pos << " for: " << value
+ << " (dim: " << dim.value_or(kIndexValue)
+ << ", owner: " << getOwnerOfValue(value)->getName() << ")\n";
----------------
joker-eph wrote:
```suggestion
<< ", owner: " << getOwnerOfValue(value)->getName() << ")";
```
Nit: newline is already automatic with LDBG()
https://github.com/llvm/llvm-project/pull/166733
More information about the Mlir-commits
mailing list