Skip to content

Commit a8b4cb1

Browse files
committed
[mlir] Remove debug prints from test pattern
1 parent 3b4c45e commit a8b4cb1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mlir/test/lib/Dialect/Test/TestPatterns.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -351,11 +351,9 @@ class EraseFirstBlock : public RewritePattern {
351351

352352
LogicalResult matchAndRewrite(Operation *op,
353353
PatternRewriter &rewriter) const override {
354-
llvm::errs() << "Num regions: " << op->getNumRegions() << "\n";
355354
for (Region &r : op->getRegions()) {
356355
for (Block &b : r.getBlocks()) {
357356
rewriter.eraseBlock(&b);
358-
llvm::errs() << "Erasing block: " << b << "\n";
359357
return success();
360358
}
361359
}

0 commit comments

Comments
 (0)