[Mlir-commits] [mlir] [mlir][SCFToSPIRV] Implement createConvertSCFToSPIRVPass function (PR #71758)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Nov 8 18:44:17 PST 2023
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 8a454e1e3cda98017401b22911ae23c67c7b31b0 5588e52637aa344799f5ea8913d4788880ad8f2f -- mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRVPass.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRVPass.cpp b/mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRVPass.cpp
index fd0d53667d66..b1d1037f32c4 100644
--- a/mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRVPass.cpp
+++ b/mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRVPass.cpp
@@ -59,6 +59,6 @@ void SCFToSPIRVPass::runOnOperation() {
return signalPassFailure();
}
-std::unique_ptr<OperationPass<>> mlir::createConvertSCFToSPIRVPass(){
+std::unique_ptr<OperationPass<>> mlir::createConvertSCFToSPIRVPass() {
return std::make_unique<SCFToSPIRVPass>();
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/71758
More information about the Mlir-commits
mailing list