[Mlir-commits] [mlir] [mlir][vector] Set InBound for vector read write after peeling (PR #89108)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Apr 17 10:41:22 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 52a1998f15ab0e5b9ff7afa8b92cc714463d5dd8 a3fed33d46aa0f358a1e2f851e369c4d3eee156d -- mlir/lib/Dialect/Vector/IR/VectorOps.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Dialect/Vector/IR/VectorOps.cpp b/mlir/lib/Dialect/Vector/IR/VectorOps.cpp
index b233ad9786..fa52d098a2 100644
--- a/mlir/lib/Dialect/Vector/IR/VectorOps.cpp
+++ b/mlir/lib/Dialect/Vector/IR/VectorOps.cpp
@@ -4010,7 +4010,8 @@ static bool isLoopIterationAsMultipleOfStep(mlir::scf::ForOp forOp) {
 
 template <typename TransferOp>
 static bool isLoopIterationAsMultipleOfVectorSize(TransferOp op,
-            int64_t resultIdx, int64_t indicesIdx) {
+                                                  int64_t resultIdx,
+                                                  int64_t indicesIdx) {
   Value index = op.getIndices()[indicesIdx];
   auto forOp = dyn_cast<mlir::scf::ForOp>(op->getParentOp());
   if (!forOp)

``````````

</details>


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


More information about the Mlir-commits mailing list