[Mlir-commits] [mlir] [mlir][scf]: Avoid inserting affine.min when tiling dynamic operation sizes if possible (PR #113819)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Oct 27 08:56:52 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 d2e9532fe12dc2568f40c2648ff4bb3730141aed d88f7490218ac56df2176b17decb3d4249a43373 --extensions cpp -- mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp b/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
index 54afbe4b03..f6d49949a0 100644
--- a/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
+++ b/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
@@ -204,7 +204,7 @@ static bool dynamiclyDivisible(OpFoldResult size, OpFoldResult stride) {
     return true;
   if (strideAsInt && rhsAsInt && *strideAsInt == *rhsAsInt)
     return true;
-  
+
   return false;
 }
 

``````````

</details>


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


More information about the Mlir-commits mailing list