[Mlir-commits] [mlir] [mlir][scf] Implement getSingle... of LoopLikeOpinterface for scf::ParallelOp (PR #68511)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Oct 19 22:31:09 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 b8f70feaeff075b998f42c9ac54f8ee330cc0a6e 97148e418edd9e8a11f8781d2d6a755d9dcd7458 -- mlir/unittests/Dialect/SCF/LoopLikeSCFOpsTest.cpp mlir/lib/Dialect/SCF/IR/SCF.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/unittests/Dialect/SCF/LoopLikeSCFOpsTest.cpp b/mlir/unittests/Dialect/SCF/LoopLikeSCFOpsTest.cpp
index 209858b11466..f9b9b1a32f6f 100644
--- a/mlir/unittests/Dialect/SCF/LoopLikeSCFOpsTest.cpp
+++ b/mlir/unittests/Dialect/SCF/LoopLikeSCFOpsTest.cpp
@@ -85,7 +85,8 @@ TEST_F(SCFLoopLikeTest, queryMultidimensionalLooplikes) {
ArrayRef<OpFoldResult>({step, step}), ValueRange(), std::nullopt);
checkMultidimensional(forallOp);
- auto parallelOp = b.create<scf::ParallelOp>(
- loc, ValueRange({lb, lb}), ValueRange({ub, ub}), ValueRange({step, step}), ValueRange());
+ auto parallelOp =
+ b.create<scf::ParallelOp>(loc, ValueRange({lb, lb}), ValueRange({ub, ub}),
+ ValueRange({step, step}), ValueRange());
checkMultidimensional(parallelOp);
}
\ No newline at end of file
``````````
</details>
https://github.com/llvm/llvm-project/pull/68511
More information about the Mlir-commits
mailing list