Skip to content

Commit 7417e08

Browse files
committed
Added test with extra user of cmp instruction
1 parent d2f9ad9 commit 7417e08

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/test/Transforms/LoopVectorize/AArch64/fully-unrolled-cost.ll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,9 @@ define i1 @test_extra_cmp_user(ptr nocapture noundef %dst, ptr nocapture noundef
119119
; CHECK-NEXT: Cost of 4 for VF 8: exit condition instruction %exitcond.not = icmp eq i64 %indvars.iv.next, 16
120120
; CHECK-NEXT: Cost of 0 for VF 8: EMIT vp<%3> = CANONICAL-INDUCTION ir<0>, vp<%index.next>
121121
; CHECK: Cost for VF 8: 12
122-
; CHECK-NEXT: Cost of 8 for VF 16: induction instruction %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
123122
; CHECK-NEXT: Cost of 0 for VF 16: induction instruction %indvars.iv = phi i64 [ 0, %entry ], [ %indvars.iv.next, %for.body ]
124-
; CHECK-NEXT: Cost of 8 for VF 16: exit condition instruction %exitcond.not = icmp eq i64 %indvars.iv.next, 16
125123
; CHECK-NEXT: Cost of 0 for VF 16: EMIT vp<%3> = CANONICAL-INDUCTION ir<0>, vp<%index.next>
126-
; CHECK: Cost for VF 16: 20
124+
; CHECK: Cost for VF 16: 4
127125
; CHECK: LV: Selecting VF: 16
128126
entry:
129127
br label %for.body

0 commit comments

Comments
 (0)