|
10 | 10 | ; RUN: -riscv-v-vector-bits-min=128 -disable-output < %s 2>&1 | FileCheck %s |
11 | 11 |
|
12 | 12 | define void @vector_reverse_i64(ptr nocapture noundef writeonly %A, ptr nocapture noundef readonly %B, i32 noundef signext %n) { |
13 | | -; CHECK: VPlan 'Initial VPlan for VF={vscale x 4},UF>=1' { |
| 13 | +; CHECK: VPlan 'Initial VPlan for VF={vscale x 1,vscale x 2,vscale x 4},UF>=1' { |
14 | 14 | ; CHECK-NEXT: Live-in vp<[[VF:%.+]]> = VF |
15 | 15 | ; CHECK-NEXT: Live-in vp<[[VFxUF:%.+]]> = VF * UF |
16 | 16 | ; CHECK-NEXT: Live-in vp<[[VTC:%.+]]> = vector-trip-count |
@@ -82,11 +82,11 @@ for.body: ; preds = %for.body.preheader, |
82 | 82 | store i32 %add9, ptr %arrayidx3, align 4 |
83 | 83 | %cmp = icmp ugt i64 %indvars.iv, 1 |
84 | 84 | %indvars.iv.next = add nsw i64 %indvars.iv, -1 |
85 | | - br i1 %cmp, label %for.body, label %for.cond.cleanup, !llvm.loop !0 |
| 85 | + br i1 %cmp, label %for.body, label %for.cond.cleanup |
86 | 86 | } |
87 | 87 |
|
88 | 88 | define void @vector_reverse_f32(ptr nocapture noundef writeonly %A, ptr nocapture noundef readonly %B, i32 noundef signext %n) { |
89 | | -; CHECK: VPlan 'Initial VPlan for VF={vscale x 4},UF>=1' { |
| 89 | +; CHECK: VPlan 'Initial VPlan for VF={vscale x 1,vscale x 2,vscale x 4},UF>=1' { |
90 | 90 | ; CHECK-NEXT: Live-in vp<[[VF:%.+]]> = VF |
91 | 91 | ; CHECK-NEXT: Live-in vp<[[VFxUF:%.+]]> = VF * UF |
92 | 92 | ; CHECK-NEXT: Live-in vp<[[VTC:%.+]]> = vector-trip-count |
@@ -158,11 +158,5 @@ for.body: ; preds = %for.body.preheader, |
158 | 158 | store float %conv1, ptr %arrayidx3, align 4 |
159 | 159 | %cmp = icmp ugt i64 %indvars.iv, 1 |
160 | 160 | %indvars.iv.next = add nsw i64 %indvars.iv, -1 |
161 | | - br i1 %cmp, label %for.body, label %for.cond.cleanup, !llvm.loop !0 |
| 161 | + br i1 %cmp, label %for.body, label %for.cond.cleanup |
162 | 162 | } |
163 | | - |
164 | | -!0 = distinct !{!0, !1, !2, !3, !4} |
165 | | -!1 = !{!"llvm.loop.mustprogress"} |
166 | | -!2 = !{!"llvm.loop.vectorize.width", i32 4} |
167 | | -!3 = !{!"llvm.loop.vectorize.scalable.enable", i1 true} |
168 | | -!4 = !{!"llvm.loop.vectorize.enable", i1 true} |
0 commit comments