[Mlir-commits] [mlir] [mlir] Use LDBG to replace LLVM_DEBUG (NFC) (PR #166733)

Mehdi Amini llvmlistbot at llvm.org
Thu Nov 6 01:19:56 PST 2025


================
@@ -339,10 +337,9 @@ int64_t ValueBoundsConstraintSet::getPos(Value value,
           cast<BlockArgument>(value).getOwner()->isEntryBlock()) &&
          "unstructured control flow is not supported");
 #endif // NDEBUG
-  LLVM_DEBUG(llvm::dbgs() << "Getting pos for: " << value
-                          << " (dim: " << dim.value_or(kIndexValue)
-                          << ", owner: " << getOwnerOfValue(value)->getName()
-                          << ")\n");
+  LDBG() << "Getting pos for: " << value
+         << " (dim: " << dim.value_or(kIndexValue)
+         << ", owner: " << getOwnerOfValue(value)->getName() << ")\n";
----------------
joker-eph wrote:

```suggestion
         << ", owner: " << getOwnerOfValue(value)->getName() << ")";
```

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


More information about the Mlir-commits mailing list