[Mlir-commits] [mlir] [mlir][spirv][vector] Support converting vector.from_elements to SPIR-V (PR #118540)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Dec 4 08:15:11 PST 2024
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 026fbe519e16a4993601d2bac509e182081fc068 f1454e781d7ac7d5913c431657a50a411972e7e1 --extensions cpp -- mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp b/mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
index 2b3524973c..30d3637163 100644
--- a/mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
+++ b/mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
@@ -88,8 +88,8 @@ static LogicalResult runMLIRPasses(Operation *op,
passManager.addPass(createReconcileUnrealizedCastsPass());
passManager.addPass(createConvertVulkanLaunchFuncToVulkanCallsPass());
- auto res= passManager.run(module);//FIXME
- //module.dump();
+ auto res = passManager.run(module); // FIXME
+ // module.dump();
return res;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/118540
More information about the Mlir-commits
mailing list