@@ -35,7 +35,7 @@ target triple = "thumbv8.1m.main-arm-none-eabi"
35
35
; CHECK: Cost of 16 for VF 2: WIDEN store vp<%5>, ir<%conv6>, ir<%cmp2>
36
36
; CHECK: Cost of 0 for VF 2: EMIT vp<%index.next> = add nuw vp<%2>, vp<%0>
37
37
; CHECK: Cost of 0 for VF 2: EMIT branch-on-count vp<%index.next>, vp<%1>
38
- ; CHECK: Cost for VF 2: 86 (Estimated cost per lane: 43.0)
38
+ ; CHECK: Cost for VF 2: 86 (Estimated cost per lane: 43.
39
39
; CHECK: Cost of 1 for VF 4: induction instruction %inc = add nuw nsw i32 %i.016, 1
40
40
; CHECK: Cost of 0 for VF 4: induction instruction %i.016 = phi i32 [ 0, %for.body.lr.ph ], [ %inc, %for.inc ]
41
41
; CHECK: Cost of 1 for VF 4: exit condition instruction %exitcond.not = icmp eq i32 %inc, %n
@@ -52,7 +52,7 @@ target triple = "thumbv8.1m.main-arm-none-eabi"
52
52
; CHECK: Cost of 2 for VF 4: WIDEN store vp<%5>, ir<%conv6>, ir<%cmp2>
53
53
; CHECK: Cost of 0 for VF 4: EMIT vp<%index.next> = add nuw vp<%2>, vp<%0>
54
54
; CHECK: Cost of 0 for VF 4: EMIT branch-on-count vp<%index.next>, vp<%1>
55
- ; CHECK: Cost for VF 4: 10 (Estimated cost per lane: 2.5)
55
+ ; CHECK: Cost for VF 4: 10 (Estimated cost per lane: 2.
56
56
; CHECK: Cost of 1 for VF 8: induction instruction %inc = add nuw nsw i32 %i.016, 1
57
57
; CHECK: Cost of 0 for VF 8: induction instruction %i.016 = phi i32 [ 0, %for.body.lr.ph ], [ %inc, %for.inc ]
58
58
; CHECK: Cost of 1 for VF 8: exit condition instruction %exitcond.not = icmp eq i32 %inc, %n
@@ -69,7 +69,7 @@ target triple = "thumbv8.1m.main-arm-none-eabi"
69
69
; CHECK: Cost of 2 for VF 8: WIDEN store vp<%5>, ir<%conv6>, ir<%cmp2>
70
70
; CHECK: Cost of 0 for VF 8: EMIT vp<%index.next> = add nuw vp<%2>, vp<%0>
71
71
; CHECK: Cost of 0 for VF 8: EMIT branch-on-count vp<%index.next>, vp<%1>
72
- ; CHECK: Cost for VF 8: 46 (Estimated cost per lane: 5.8)
72
+ ; CHECK: Cost for VF 8: 46 (Estimated cost per lane: 5.
73
73
; CHECK: LV: Selecting VF: 4.
74
74
define void @expensive_icmp (ptr noalias nocapture %d , ptr nocapture readonly %s , i32 %n , i16 zeroext %m ) #0 {
75
75
entry:
@@ -157,7 +157,7 @@ for.inc: ; preds = %for.body, %if.then
157
157
; CHECK: Cost of 18 for VF 2: WIDEN store vp<%8>, ir<%conv4>
158
158
; CHECK: Cost of 0 for VF 2: EMIT vp<%index.next> = add nuw vp<%2>, vp<%0>
159
159
; CHECK: Cost of 0 for VF 2: EMIT branch-on-count vp<%index.next>, vp<%1>
160
- ; CHECK: Cost for VF 2: 130 (Estimated cost per lane: 65.0)
160
+ ; CHECK: Cost for VF 2: 130 (Estimated cost per lane: 65.
161
161
; CHECK: Cost of 1 for VF 4: induction instruction %dec = add i32 %blkCnt.012, -1
162
162
; CHECK: Cost of 0 for VF 4: induction instruction %blkCnt.012 = phi i32 [ %dec, %while.body ], [ %blockSize, %while.body.preheader ]
163
163
; CHECK: Cost of 0 for VF 4: induction instruction %incdec.ptr = getelementptr inbounds i8, ptr %pSrcA.addr.011, i32 1
@@ -189,7 +189,7 @@ for.inc: ; preds = %for.body, %if.then
189
189
; CHECK: Cost of 2 for VF 4: WIDEN store vp<%8>, ir<%conv4>
190
190
; CHECK: Cost of 0 for VF 4: EMIT vp<%index.next> = add nuw vp<%2>, vp<%0>
191
191
; CHECK: Cost of 0 for VF 4: EMIT branch-on-count vp<%index.next>, vp<%1>
192
- ; CHECK: Cost for VF 4: 14 (Estimated cost per lane: 3.5)
192
+ ; CHECK: Cost for VF 4: 14 (Estimated cost per lane: 3.
193
193
; CHECK: Cost of 1 for VF 8: induction instruction %dec = add i32 %blkCnt.012, -1
194
194
; CHECK: Cost of 0 for VF 8: induction instruction %blkCnt.012 = phi i32 [ %dec, %while.body ], [ %blockSize, %while.body.preheader ]
195
195
; CHECK: Cost of 0 for VF 8: induction instruction %incdec.ptr = getelementptr inbounds i8, ptr %pSrcA.addr.011, i32 1
@@ -221,7 +221,7 @@ for.inc: ; preds = %for.body, %if.then
221
221
; CHECK: Cost of 2 for VF 8: WIDEN store vp<%8>, ir<%conv4>
222
222
; CHECK: Cost of 0 for VF 8: EMIT vp<%index.next> = add nuw vp<%2>, vp<%0>
223
223
; CHECK: Cost of 0 for VF 8: EMIT branch-on-count vp<%index.next>, vp<%1>
224
- ; CHECK: Cost for VF 8: 26 (Estimated cost per lane: 3.2)
224
+ ; CHECK: Cost for VF 8: 26 (Estimated cost per lane: 3.
225
225
; CHECK: Cost of 1 for VF 16: induction instruction %dec = add i32 %blkCnt.012, -1
226
226
; CHECK: Cost of 0 for VF 16: induction instruction %blkCnt.012 = phi i32 [ %dec, %while.body ], [ %blockSize, %while.body.preheader ]
227
227
; CHECK: Cost of 0 for VF 16: induction instruction %incdec.ptr = getelementptr inbounds i8, ptr %pSrcA.addr.011, i32 1
0 commit comments