We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b5fd88 commit 4d406f6Copy full SHA for 4d406f6
mlir/lib/CAPI/Transforms/Rewrite.cpp
@@ -74,7 +74,7 @@ MlirOperation
74
mlirRewriterBaseGetOperationAfterInsertion(MlirRewriterBase rewriter) {
75
mlir::RewriterBase *base = unwrap(rewriter);
76
mlir::Block *block = base->getInsertionBlock();
77
- PyInsertionPoint it = base->getInsertionPoint();
+ mlir::Block::iterator it = base->getInsertionPoint();
78
if (it == block->end())
79
return {nullptr};
80
0 commit comments