[Mlir-commits] [mlir] [mlir][vector] Add support for linearizing Extract, ExtractStridedSlice, Shuffle VectorOps in VectorLinearize (PR #88204)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Apr 16 14:13:25 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 aefff774a0d6f75565243263555f2513ac3c9fdf 7046090e5462d342140cf54c9328a63d1fcf2063 -- mlir/include/mlir/Dialect/Vector/Transforms/VectorRewritePatterns.h mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp b/mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp
index be5b1409ac..1c00d14b33 100644
--- a/mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp
+++ b/mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp
@@ -300,7 +300,7 @@ private:
   unsigned targetVectorBitWidth;
 };
 
-/// This pattern converts the ExtractOp to a ShuffleOp that works on a 
+/// This pattern converts the ExtractOp to a ShuffleOp that works on a
 /// linearized vector.
 /// Following,
 ///   vector.extract %source [ position ]

``````````

</details>


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


More information about the Mlir-commits mailing list