[Mlir-commits] [mlir] [MLIR][scp.parallel] Don't allow a tile size of 0 (PR #68762)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Oct 10 21:47:01 PDT 2023
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 4eecfda50a4e7a05f448a59885d2572d0ea2f4a1 64a2ae55d7ec3598ffa9e2e9834475eddaac8136 -- mlir/lib/Dialect/SCF/Transforms/ParallelLoopTiling.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/SCF/Transforms/ParallelLoopTiling.cpp b/mlir/lib/Dialect/SCF/Transforms/ParallelLoopTiling.cpp
index be123f0e7225..6a7dd651a154 100644
--- a/mlir/lib/Dialect/SCF/Transforms/ParallelLoopTiling.cpp
+++ b/mlir/lib/Dialect/SCF/Transforms/ParallelLoopTiling.cpp
@@ -195,7 +195,7 @@ struct ParallelLoopTiling
}
void runOnOperation() override {
- for (int64_t tileSize : tileSizes)
+ for (int64_t tileSize : tileSizes)
if (tileSize == 0)
signalPassFailure();
auto *parentOp = getOperation();
``````````
</details>
https://github.com/llvm/llvm-project/pull/68762
More information about the Mlir-commits
mailing list