[Mlir-commits] [mlir] [MLIR] Add a missing newline to debug output. NFC (PR #141531)

Alex Denisov llvmlistbot at llvm.org
Mon May 26 13:52:18 PDT 2025


https://github.com/AlexDenisov created https://github.com/llvm/llvm-project/pull/141531

Before:

```
        ** Erase   : 'scf.yield'(0x6000037b1630)
        ** Insert Block into detached Region (nullptr parent op)'        ** Insert Block into detached Region (nullptr parent op)'        ** Insert  : 'scf.if'(0x6000025b8140)
        ** Erase   : 'scf.if'(0x600003ab0780)
```

After:

```
        ** Erase   : 'scf.yield'(0x600003128b90)
        ** Insert Block into detached Region (nullptr parent op)'
        ** Insert Block into detached Region (nullptr parent op)'
        ** Insert  : 'scf.if'(0x6000023206e0)
```

>From 282a68bed58996f2d0c03d5dbdf4b5acb1d5820b Mon Sep 17 00:00:00 2001
From: Alex Denisov <alex at lowlevelbits.org>
Date: Mon, 26 May 2025 22:49:05 +0200
Subject: [PATCH] [MLIR] Add a missing newline to debug output. NFC

---
 mlir/lib/Transforms/Utils/DialectConversion.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mlir/lib/Transforms/Utils/DialectConversion.cpp b/mlir/lib/Transforms/Utils/DialectConversion.cpp
index 02657b500ebfa..7de26d7cfa84d 100644
--- a/mlir/lib/Transforms/Utils/DialectConversion.cpp
+++ b/mlir/lib/Transforms/Utils/DialectConversion.cpp
@@ -1605,7 +1605,7 @@ void ConversionPatternRewriterImpl::notifyBlockInserted(
                              << "'(" << parent << ")\n";
         } else {
           logger.startLine()
-              << "** Insert Block into detached Region (nullptr parent op)'";
+              << "** Insert Block into detached Region (nullptr parent op)'\n";
         }
       });
 



More information about the Mlir-commits mailing list