[Mlir-commits] [mlir] [mlir][scf][transform] Add scope op & transform (PR #87352)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Apr 8 06:36:06 PDT 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 beeb15b71650b46f39cb6b1917e8d05568978656 09535f8f88ad19697241983e08745f0093a364d5 -- mlir/lib/Dialect/SCF/IR/SCF.cpp mlir/lib/Dialect/Transform/IR/TransformOps.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Dialect/Transform/IR/TransformOps.cpp b/mlir/lib/Dialect/Transform/IR/TransformOps.cpp
index 3e7c55625c..f8708ba7ac 100644
--- a/mlir/lib/Dialect/Transform/IR/TransformOps.cpp
+++ b/mlir/lib/Dialect/Transform/IR/TransformOps.cpp
@@ -947,8 +947,8 @@ transform::AsScopeOp::apply(transform::TransformRewriter &rewriter,
   SmallVector<Type> argTypes;
   for (Value liveIn : liveIns)
     argTypes.push_back(liveIn.getType());
-  Block *scopeBlock = rewriter.createBlock(scopeBody, scopeBody->end(),
-                                           argTypes, argLocs);
+  Block *scopeBlock =
+      rewriter.createBlock(scopeBody, scopeBody->end(), argTypes, argLocs);
 
   IRMapping mapper;
   for (Value liveIn : liveIns)

``````````

</details>


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


More information about the Mlir-commits mailing list