[Mlir-commits] [mlir] [mlir][Vector] Update patterns for flattening vector.xfer Ops (2/N) (PR #73523)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Nov 27 06:52:25 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 bf02c84cb8e7f60dfc12f822cd2bb71890b03101 cc810a7cc7af8a47fd436846ce0d5be8c26468b0 -- mlir/lib/Dialect/Vector/Transforms/VectorTransferOpTransforms.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Dialect/Vector/Transforms/VectorTransferOpTransforms.cpp b/mlir/lib/Dialect/Vector/Transforms/VectorTransferOpTransforms.cpp
index 951a378b84..efb7beda78 100644
--- a/mlir/lib/Dialect/Vector/Transforms/VectorTransferOpTransforms.cpp
+++ b/mlir/lib/Dialect/Vector/Transforms/VectorTransferOpTransforms.cpp
@@ -514,8 +514,7 @@ class TransferWriteDropUnitDimsPattern
 ///
 /// (*) Only relevant in cases when the rank(vectorType) < rank(memrefType)
 /// TODO: Update
-static bool isContiguousSlice(MemRefType memrefType,
-                              VectorType vectorType) {
+static bool isContiguousSlice(MemRefType memrefType, VectorType vectorType) {
 
   ArrayRef<int64_t> targetShape = vectorType.getShape();
   auto targetShapeTrailingDims = targetShape.drop_front(1);

``````````

</details>


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


More information about the Mlir-commits mailing list