[Mlir-commits] [mlir] [mlir][linalg] Add check for 'affine.for' map bound results (PR #127105)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Feb 13 10:42:57 PST 2025


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 0f674cce82da851961b3e59b1bd663919e17fb65 d320635b846d1929ff67fd4f3ec846953bfaa69a --extensions cpp -- mlir/lib/Dialect/Affine/IR/AffineOps.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Dialect/Affine/IR/AffineOps.cpp b/mlir/lib/Dialect/Affine/IR/AffineOps.cpp
index 06e26e887b..4c8ea6dc2d 100644
--- a/mlir/lib/Dialect/Affine/IR/AffineOps.cpp
+++ b/mlir/lib/Dialect/Affine/IR/AffineOps.cpp
@@ -1908,7 +1908,7 @@ LogicalResult AffineForOp::verifyRegions() {
 
   if (getUpperBoundMap().getNumResults() < 1)
     return emitOpError("expected upper bound map to have at least one result");
-    
+
   unsigned opNumResults = getNumResults();
   if (opNumResults == 0)
     return success();

``````````

</details>


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


More information about the Mlir-commits mailing list