Skip to content

Commit 7736abb

Browse files
Don't fail the pass if some op fails to get a more static shape
1 parent 1f4fba7 commit 7736abb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mlir/lib/Dialect/MemRef/Transforms/ReifyResultShapes.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ void ReifyResultShapesPass::runOnOperation() {
138138
IRRewriter rewriter(&getContext());
139139
for (ReifyRankedShapedTypeOpInterface op : ops) {
140140
rewriter.setInsertionPoint(op);
141-
if (failed(memref::reifyOpResultShapes(rewriter, op)))
142-
return signalPassFailure();
141+
(void)memref::reifyOpResultShapes(rewriter, op);
143142
}
144143
}

0 commit comments

Comments
 (0)