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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon May 26 15:42:57 PDT 2025


Author: Alex Denisov
Date: 2025-05-26T15:42:54-07:00
New Revision: da4958ae2b384c2a027cf20c67b7e211d39fcbfe

URL: https://github.com/llvm/llvm-project/commit/da4958ae2b384c2a027cf20c67b7e211d39fcbfe
DIFF: https://github.com/llvm/llvm-project/commit/da4958ae2b384c2a027cf20c67b7e211d39fcbfe.diff

LOG: [MLIR] Add a missing newline to debug output. NFC (#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)
```

Added: 
    

Modified: 
    mlir/lib/Transforms/Utils/DialectConversion.cpp

Removed: 
    


################################################################################
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