[Mlir-commits] [mlir] [mlir][tosa] Add verifier for tosa.tile, fix shape inference crash (PR #70972)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Nov 2 00:15:32 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 0e06ddf0f6896cfd817a1b97a43b78331e0b1d66 a54a1036260cd9be24fc619a0924922459e8cdf0 -- 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 375a7bbe38e8..259799725622 100644
--- a/mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
+++ b/mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
@@ -1849,8 +1849,9 @@ ParseResult WhileOp::parse(OpAsmParser &parser, OperationState &result) {
if (functionType.getNumInputs() != operands.size()) {
return parser.emitError(typeLoc)
- << "expected as many input types as operands " << "(expected "
- << operands.size() << " got " << functionType.getNumInputs() << ")";
+ << "expected as many input types as operands "
+ << "(expected " << operands.size() << " got "
+ << functionType.getNumInputs() << ")";
}
// Resolve input operands.
``````````
</details>
https://github.com/llvm/llvm-project/pull/70972
More information about the Mlir-commits
mailing list