Skip to content

Commit a24e8a7

Browse files
authored
[mlir][vector] Update document for vector.splat(NFC) (#112363)
This PR updates the document for `vector.splat`, specifying that the operand type must match the element type of the result.
1 parent fe7f5f9 commit a24e8a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Dialect/Vector/IR/VectorOps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2808,7 +2808,7 @@ def Vector_SplatOp : Vector_Op<"splat", [
28082808

28092809
```mlir
28102810
%s = arith.constant 10.1 : f32
2811-
%t = vector.splat %s : vector<8x16xi32>
2811+
%t = vector.splat %s : vector<8x16xf32>
28122812
```
28132813
}];
28142814

0 commit comments

Comments
 (0)