[Mlir-commits] [mlir] [mlir][tosa] Check empty Concat input for inferReturnTypeComponents (PR #134728)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Apr 7 13:55:34 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/Tosa/IR/TosaOps.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Dialect/Tosa/IR/TosaOps.cpp b/mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
index 889fe7a6b..59946ca54 100644
--- a/mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
+++ b/mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
@@ -1066,7 +1066,7 @@ LogicalResult tosa::ConcatOp::inferReturnTypeComponents(
 
     hasRankedInput = true;
   }
-  
+
   if (adaptor.getInput1().empty())
     return failure();
 

``````````

</details>


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


More information about the Mlir-commits mailing list