Skip to content

Commit c4d3807

Browse files
committed
[mlir][SCFToSPIRV] Implement createConvertSCFToSPIRVPass function
1 parent 0adbde6 commit c4d3807

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRVPass.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,7 @@ void SCFToSPIRVPass::runOnOperation() {
5858
if (failed(applyPartialConversion(op, *target, std::move(patterns))))
5959
return signalPassFailure();
6060
}
61+
62+
std::unique_ptr<OperationPass<>> mlir::createConvertSCFToSPIRVPass() {
63+
return std::make_unique<SCFToSPIRVPass>();
64+
}

0 commit comments

Comments
 (0)