[Mlir-commits] [mlir] [MLIR] Remove overly verbose Debug for TypeID checks (NFC) (PR #150751)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Jul 26 04:07:37 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir-core

Author: Mehdi Amini (joker-eph)

<details>
<summary>Changes</summary>

These are spammy and mostly uninteresting during debugging.

---
Full diff: https://github.com/llvm/llvm-project/pull/150751.diff


1 Files Affected:

- (modified) mlir/lib/Support/TypeID.cpp (-3) 


``````````diff
diff --git a/mlir/lib/Support/TypeID.cpp b/mlir/lib/Support/TypeID.cpp
index 01ad910113018..304253cc6daa7 100644
--- a/mlir/lib/Support/TypeID.cpp
+++ b/mlir/lib/Support/TypeID.cpp
@@ -27,9 +27,6 @@ namespace {
 struct ImplicitTypeIDRegistry {
   /// Lookup or insert a TypeID for the given type name.
   TypeID lookupOrInsert(StringRef typeName) {
-    LLVM_DEBUG(llvm::dbgs() << "ImplicitTypeIDRegistry::lookupOrInsert("
-                            << typeName << ")\n");
-
     // Perform a heuristic check to see if this type is in an anonymous
     // namespace. String equality is not valid for anonymous types, so we try to
     // abort whenever we see them.

``````````

</details>


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


More information about the Mlir-commits mailing list