Skip to content

Commit 71b40b1

Browse files
Add comment about verification in the middle of the pass.
1 parent 6976ca6 commit 71b40b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mlir/lib/Dialect/Transform/Transforms/TransformInterpreterPassBase.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,8 @@ static LogicalResult mergeSymbolsInto(Operation *target,
456456
}
457457
}
458458

459+
// TODO: This duplicates pass infrastructure. We should split this pass into
460+
// several and let the pass infrastructure do the verification.
459461
for (auto *op : SmallVector<Operation *>{target, *other}) {
460462
if (failed(mlir::verify(op)))
461463
return op->emitError() << "failed to verify input op after renaming";

0 commit comments

Comments
 (0)