[Mlir-commits] [mlir] [mlir::spirv] Support scf.if in mlir-vulkan-runner (PR #75367)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Dec 13 11:20:52 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 a5ffabce98a4b2e9d69009fa3e60f2b154100860 a26ab49769aff1f3935348cc52dcae3da6df8437 -- mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.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 a9642d9693..032f576036 100644
--- a/mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
+++ b/mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
@@ -106,9 +106,8 @@ int main(int argc, char **argv) {
mlir::DialectRegistry registry;
registry.insert<mlir::arith::ArithDialect, mlir::LLVM::LLVMDialect,
mlir::gpu::GPUDialect, mlir::spirv::SPIRVDialect,
- mlir::scf::SCFDialect,
- mlir::func::FuncDialect, mlir::memref::MemRefDialect,
- mlir::vector::VectorDialect>();
+ mlir::scf::SCFDialect, mlir::func::FuncDialect,
+ mlir::memref::MemRefDialect, mlir::vector::VectorDialect>();
mlir::registerBuiltinDialectTranslation(registry);
mlir::registerLLVMDialectTranslation(registry);
``````````
</details>
https://github.com/llvm/llvm-project/pull/75367
More information about the Mlir-commits
mailing list