File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
mlir/test/Conversion/VectorToSCF Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -558,10 +558,9 @@ func.func @vector_print_vector_0d(%arg0: vector<f32>) {
558
558
// CHECK-SAME: %[[VEC:.*]]: vector<f32>) {
559
559
// CHECK-DAG: %[[C0:.*]] = arith.constant 0 : index
560
560
// CHECK-DAG: %[[C1:.*]] = arith.constant 1 : index
561
- // CHECK: %[[FLAT_VEC:.*]] = vector.shape_cast %[[VEC]] : vector<f32> to vector<1xf32>
562
561
// CHECK: vector.print punctuation <open>
563
562
// CHECK: scf.for %[[IDX:.*]] = %[[C0]] to %[[C1]] step %[[C1]] {
564
- // CHECK: %[[EL:.*]] = vector.extract %[[FLAT_VEC ]][%[[IDX]]] : f32 from vector<1xf32 >
563
+ // CHECK: %[[EL:.*]] = vector.extract %[[VEC ]][] : f32 from vector<f32 >
565
564
// CHECK: vector.print %[[EL]] : f32 punctuation <no_punctuation>
566
565
// CHECK: %[[IS_NOT_LAST:.*]] = arith.cmpi ult, %[[IDX]], %[[C0]] : index
567
566
// CHECK: scf.if %[[IS_NOT_LAST]] {
You can’t perform that action at this time.
0 commit comments