File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
mlir/lib/Conversion/ConvertToLLVM Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1414#include " mlir/IR/PatternMatch.h"
1515#include " mlir/Rewrite/FrozenRewritePatternSet.h"
1616#include " mlir/Transforms/DialectConversion.h"
17+ #include " llvm/Support/DebugLog.h"
1718#include < memory>
1819
1920#define DEBUG_TYPE " convert-to-llvm"
@@ -79,13 +80,13 @@ class LoadDependentDialectExtension : public DialectExtensionBase {
7980
8081 void apply (MLIRContext *context,
8182 MutableArrayRef<Dialect *> dialects) const final {
82- LLVM_DEBUG ( llvm::dbgs ( ) << " Convert to LLVM extension load\n " ) ;
83+ LDBG ( ) << " Convert to LLVM extension load" ;
8384 for (Dialect *dialect : dialects) {
8485 auto *iface = dyn_cast<ConvertToLLVMPatternInterface>(dialect);
8586 if (!iface)
8687 continue ;
87- LLVM_DEBUG ( llvm::dbgs () << " Convert to LLVM found dialect interface for "
88- << dialect->getNamespace () << " \n " );
88+ LDBG () << " Convert to LLVM found dialect interface for "
89+ << dialect->getNamespace ();
8990 iface->loadDependentDialects (context);
9091 }
9192 }
You can’t perform that action at this time.
0 commit comments