[Mlir-commits] [mlir] [mlir][transform] Support for multiple top-level transform ops (PR #69615)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Oct 19 10:00:50 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 01263c6c6fb495a94fe0ccbb1420bb1ec8460748 7b0f4c9db55c355bffddf94d7710f40ee2c1e9db -- mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h mlir/lib/Dialect/Transform/Transforms/TransformInterpreterPassBase.cpp mlir/test/lib/Dialect/Transform/TestTransformDialectInterpreter.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h b/mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h
index 60eb48a764eb..5fcde11d52f0 100644
--- a/mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h
+++ b/mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h
@@ -96,8 +96,7 @@ public:
   }
 
   // Ensures that only a single top-level transform op is present in the IR.
-  TransformOptions &
-  enableEnforceSingleToplevelTransformOp(bool enable = true) {
+  TransformOptions &enableEnforceSingleToplevelTransformOp(bool enable = true) {
     enforceSingleToplevelTransformOp = enable;
     return *this;
   }

``````````

</details>


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


More information about the Mlir-commits mailing list