diff --git a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td --- a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td +++ b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td @@ -1785,7 +1785,7 @@ ); let results = (outs - Tosa_Tensor:$output + Tosa_Tensor_Cast:$output ); let hasFolder = 1; }