Skip to content

Commit d8a451f

Browse files
committed
Fixed deperecated create op.
1 parent f608cf4 commit d8a451f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/SCF/IR/SCF.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ struct ExecuteRegionForwardingEliminator
344344
for (Value value : internalValues)
345345
resultTypes.push_back(value.getType());
346346
auto newOp =
347-
rewriter.create<ExecuteRegionOp>(op.getLoc(), TypeRange(resultTypes));
347+
ExecuteRegionOp::create(rewriter, op.getLoc(), TypeRange(resultTypes));
348348
newOp->setAttrs(op->getAttrs());
349349

350350
// Move old op's region to the new operation.

0 commit comments

Comments
 (0)