[Mlir-commits] [mlir] [mlir][linalg] Vectorize unpack op without masking (PR #89067)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu May 2 05:19:10 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 2b2c66c00f968b439f159bf200f801da9afaf22f f4912357f95c807407848f883e09bf33819acaa8 -- 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 22268d7820..d1cb71d522 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
@@ -1559,8 +1559,8 @@ vectorizeAsTensorPackOp(RewriterBase &rewriter, tensor::PackOp packOp,
/// vector::TransposeOp - Transpose the Source tensor
/// ShapeCastOp - Reshape the data based on the target.
/// vector::TransferWriteOp. - Write the result vector back to the destination
-/// tensor. If the vector sizes are not provided:
-/// * the vector sizes are determined by the input operand and attributes,
+/// tensor. If the vector sizes are not provided:
+/// * the vector sizes are determined by the input operand and attributes,
/// * update the inBounds attribute instead of masking.
static LogicalResult
vectorizeAsTensorUnpackOp(RewriterBase &rewriter, tensor::UnPackOp unpackOp,
``````````
</details>
https://github.com/llvm/llvm-project/pull/89067
More information about the Mlir-commits
mailing list