[Mlir-commits] [mlir] [mlir][tosa] Add additional input output dtype verifiers for the foll… (PR #127923)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Feb 21 13:26:37 PST 2025


================
@@ -852,6 +950,71 @@ LogicalResult tosa::ConcatOp::inferReturnTypeComponents(
   return success();
 }
 
+LogicalResult tosa::ConcatOp::verify() {
+  // check that each input has same element type as output
+  auto outType = getOutput().getType();
+  const Operation::operand_range inputList = getInput1();
+
+  for (auto input : inputList) {
----------------
Jerry-Ge wrote:

done. 

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


More information about the Mlir-commits mailing list