[Mlir-commits] [mlir] [mlir][emitc] Fix the emitc::ExpressionOp (PR #143894)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Jun 16 02:07:46 PDT 2025


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 HEAD~1 HEAD --extensions cpp -- mlir/lib/Dialect/EmitC/IR/EmitC.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Dialect/EmitC/IR/EmitC.cpp b/mlir/lib/Dialect/EmitC/IR/EmitC.cpp
index b917b00da..95ecdceea 100644
--- a/mlir/lib/Dialect/EmitC/IR/EmitC.cpp
+++ b/mlir/lib/Dialect/EmitC/IR/EmitC.cpp
@@ -410,7 +410,7 @@ LogicalResult ExpressionOp::verify() {
     return emitOpError("yielded value has no defining op");
 
   if (!isa<emitc::ExpressionOp>(rootOp->getParentOp()))
-    return emitOpError("yielded value not defined within expression"); 
+    return emitOpError("yielded value not defined within expression");
 
   Type yieldType = yieldResult.getType();
 

``````````

</details>


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


More information about the Mlir-commits mailing list