diff --git a/mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td b/mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td --- a/mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td +++ b/mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td @@ -163,7 +163,7 @@ extents match the values of the elements. }]; - let arguments = (ins I32Tensor:$input); + let arguments = (ins IndexTensor:$input); let results = (outs Shape_ShapeType:$result); }