[Mlir-commits] [mlir] [Linalg][Vectorization] Add support for linalg vectorization of a tensor.extract case (PR #107922)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Sep 20 09:02:31 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 3b3accb598ec87a6a30b0e18ded06071030bb78f 69ece45c9dc92c4aa45c47c7ebf8346fca474465 --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 2664717592..2244f29967 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
@@ -832,7 +832,6 @@ static uint64_t getNonUnitLoopDim(LinalgOp linalgOp) {
return nonUnitDim;
}
-
/// Checks whether `val` can be used for calculating a loop invariant index.
static bool isLoopInvariantIdx(LinalgOp &linalgOp, Value &val,
VectorType resType) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/107922
More information about the Mlir-commits
mailing list