Skip to content

Commit d2a31f2

Browse files
committed
Add dense float test
1 parent a8d0cb4 commit d2a31f2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

mlir/test/Dialect/Vector/int-range-interface.mlir

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ func.func @constant_splat() -> vector<8xi32> {
1717
func.return %1 : vector<8xi32>
1818
}
1919

20+
// CHECK-LABEL: func @float_constant_splat
21+
func.func @float_constant_splat() -> vector<8xf32> {
22+
%0 = arith.constant dense<3.0> : vector<8xf32>
23+
func.return %0: vector<8xf32>
24+
}
25+
2026
// CHECK-LABEL: func @vector_splat
2127
// CHECK: test.reflect_bounds {smax = 5 : index, smin = 4 : index, umax = 5 : index, umin = 4 : index}
2228
func.func @vector_splat() -> vector<4xindex> {

0 commit comments

Comments
 (0)