We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f879041 commit ab9970dCopy full SHA for ab9970d
mlir/test/Dialect/Vector/int-range-interface.mlir
@@ -93,3 +93,14 @@ func.func @vector_insertelement() -> vector<4xindex> {
93
%3 = test.reflect_bounds %2 : vector<4xindex>
94
func.return %3 : vector<4xindex>
95
}
96
+
97
+// CHECK-LABEL: func @test_loaded_vector_extract
98
+// No bounds
99
+// CHECK: test.reflect_bounds %{{.*}} : i32
100
+func.func @test_loaded_vector_extract(%memref : memref<16xi32>) -> i32 {
101
+ %c0 = arith.constant 0 : index
102
+ %v = vector.load %memref[%c0] : memref<16xi32>, vector<4xi32>
103
+ %e = vector.extract %v[0] : i32 from vector<4xi32>
104
+ %bounds = test.reflect_bounds %e : i32
105
+ func.return %bounds : i32
106
+}
0 commit comments