[Mlir-commits] [mlir] [mlir][transform] Guard parametric loop tiling pass from no option (PR #118254)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Dec 3 19:01:38 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 c4a1e0efe6b0767dfb5861a7e8814d7db0c0de8a 13e6eb69785b2923bc66a8e244c9438929040aa3 --extensions cpp -- mlir/test/lib/Dialect/SCF/TestLoopParametricTiling.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/test/lib/Dialect/SCF/TestLoopParametricTiling.cpp b/mlir/test/lib/Dialect/SCF/TestLoopParametricTiling.cpp
index 510fcf7c92..095b220790 100644
--- a/mlir/test/lib/Dialect/SCF/TestLoopParametricTiling.cpp
+++ b/mlir/test/lib/Dialect/SCF/TestLoopParametricTiling.cpp
@@ -41,7 +41,9 @@ public:
 
   void runOnOperation() override {
     if (sizes.empty()) {
-      emitError(UnknownLoc::get(getContext()), "missing `" + getArgument() + "` pass-option for outer loop sizes");
+      emitError(UnknownLoc::get(getContext()),
+                "missing `" + getArgument() +
+                    "` pass-option for outer loop sizes");
       signalPassFailure();
       return;
     }

``````````

</details>


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


More information about the Mlir-commits mailing list