Skip to content

Commit 7a3fe85

Browse files
committed
[MLIR] Adopt LDBG() debug macro in PatternApplicator.cpp (NFC)
1 parent 5928619 commit 7a3fe85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Rewrite/PatternApplicator.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ PatternApplicator::~PatternApplicator() = default;
3737
#ifndef NDEBUG
3838
/// Log a message for a pattern that is impossible to match.
3939
static void logImpossibleToMatch(const Pattern &pattern) {
40-
llvm::dbgs() << "Ignoring pattern '" << pattern.getRootKind()
41-
<< "' because it is impossible to match or cannot lead "
42-
"to legal IR (by cost model)\n";
40+
LDBG() << "Ignoring pattern '" << pattern.getRootKind()
41+
<< "' because it is impossible to match or cannot lead "
42+
"to legal IR (by cost model)";
4343
}
4444

4545
/// Log IR after pattern application.

0 commit comments

Comments
 (0)