[Mlir-commits] [mlir] [milir][spirv] Fix vector interleave lowering in VectorToSPIRV (PR #93189)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu May 23 07:17:58 PDT 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 300e5b91144249a5b142b02d6331fcb33e13cf1d 5bd75065e48cb520fc2773b5af0939b7e444ee96 -- mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRVPass.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp b/mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
index d05e6962fc..7aaef7f4bf 100644
--- a/mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
+++ b/mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
@@ -829,7 +829,6 @@ void mlir::populateVectorToSPIRVPatterns(SPIRVTypeConverter &typeConverter,
   // than the generic one that extracts all elements.
   patterns.add<VectorReductionToFPDotProd>(typeConverter, patterns.getContext(),
                                            PatternBenefit(2));
-
 }
 
 void mlir::populateVectorReductionToSPIRVDotProductPatterns(

``````````

</details>


https://github.com/llvm/llvm-project/pull/93189


More information about the Mlir-commits mailing list