[MLIR] Adopt LDBG() debug macro in PatternApplicator.cpp (NFC) (#154724)

This commit is contained in:
Mehdi Amini 2025-08-21 12:32:21 +02:00 committed by GitHub
parent 98867bf8de
commit b20c291bae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,9 +37,9 @@ PatternApplicator::~PatternApplicator() = default;
#ifndef NDEBUG #ifndef NDEBUG
/// Log a message for a pattern that is impossible to match. /// Log a message for a pattern that is impossible to match.
static void logImpossibleToMatch(const Pattern &pattern) { static void logImpossibleToMatch(const Pattern &pattern) {
llvm::dbgs() << "Ignoring pattern '" << pattern.getRootKind() LDBG() << "Ignoring pattern '" << pattern.getRootKind()
<< "' because it is impossible to match or cannot lead " << "' because it is impossible to match or cannot lead "
"to legal IR (by cost model)\n"; "to legal IR (by cost model)";
} }
/// Log IR after pattern application. /// Log IR after pattern application.