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 f608cf4 commit d8a451fCopy full SHA for d8a451f
mlir/lib/Dialect/SCF/IR/SCF.cpp
@@ -344,7 +344,7 @@ struct ExecuteRegionForwardingEliminator
344
for (Value value : internalValues)
345
resultTypes.push_back(value.getType());
346
auto newOp =
347
- rewriter.create<ExecuteRegionOp>(op.getLoc(), TypeRange(resultTypes));
+ ExecuteRegionOp::create(rewriter, op.getLoc(), TypeRange(resultTypes));
348
newOp->setAttrs(op->getAttrs());
349
350
// Move old op's region to the new operation.
0 commit comments