[Mlir-commits] [mlir] [mlir][linalg] Relax scalable vectorization restrictions (PR #117991)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Nov 28 02:56:08 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 69d66fafec968b17f84e30bc09faffb3dc8e5f15 687cdfd84fc4d0494e23a262f6443352c18d910a --extensions cpp -- mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp b/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
index f3fffbef67..e77b2da430 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
@@ -2026,7 +2026,8 @@ vectorizeScalableVectorPrecondition(Operation *op,
// (*).
// 2. Exactly 2 dims are scalable and those are the _last two adjacent_
// parallel dims.
- // 3. Exactly 1 reduction dim is scalable and that's the last (innermost) dim.
+ // 3. Exactly 1 reduction dim is scalable and that's the last (innermost)
+ // dim.
// The 2nd restriction above means that only Matmul-like Ops are supported
// when 2 dims are scalable, e.g. :
// * iterators = [parallel, parallel, reduction]
``````````
</details>
https://github.com/llvm/llvm-project/pull/117991
More information about the Mlir-commits
mailing list