[Mlir-commits] [mlir] [MLIR] [Transforms] Let `transform.structured.convert_to_loops` return handles to loops (PR #83984)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Mar 5 01:49:34 PST 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 ff66e9b7e2fad71d1c65e884d6f94fb6ea5bdc21 69a7f4c96d939b1ead84ec9812726b3efea1d653 -- mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp b/mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
index 259d6e1b8f..ef046e77b9 100644
--- a/mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
+++ b/mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
@@ -2122,7 +2122,7 @@ DiagnosedSilenceableFailure transform::ConvertToLoopsOp::applyToOne(
if (failed(loops))
return emitDefaultDefiniteFailure(target);
rewriter.eraseOp(target);
- for(auto &loop: *loops){
+ for (auto &loop : *loops) {
results.push_back(loop);
}
return DiagnosedSilenceableFailure::success();
``````````
</details>
https://github.com/llvm/llvm-project/pull/83984
More information about the Mlir-commits
mailing list