Skip to content

Commit 94254e8

Browse files
Jerry-Gejph-13
authored andcommitted
[mlir][tosa] Update ConstOp to use Tosa_Tensor (llvm#129959)
Since we already defined Tosa_Tensor in TosaTypesBase.td, updated ConstOp to use that. Signed-off-by: Jerry Ge <[email protected]>
1 parent 4a52a84 commit 94254e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2359,7 +2359,7 @@ def Tosa_ConstOp : Tosa_Op<"const", [ConstantLike, Pure,
23592359
);
23602360

23612361
let results = (outs
2362-
TosaTensorOf<[AnyTypeOf<[Tosa_AnyNumber]>]>:$output
2362+
Tosa_Tensor:$output
23632363
);
23642364

23652365
list<Availability> availability = [

0 commit comments

Comments
 (0)