Skip to content

Commit 00c5f41

Browse files
committed
!fixup update output order in test
1 parent a12dc43 commit 00c5f41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/test/Transforms/LoopVectorize/AArch64/predication_costs.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ for.end:
135135
;
136136
; CHECK: Scalarizing: %tmp3 = add nsw i32 %tmp2, %x
137137
; CHECK: Scalarizing and predicating: %tmp4 = udiv i32 %tmp2, %tmp3
138-
; CHECK: Cost of 3 for VF 2: profitable to scalarize %tmp3 = add nsw i32 %tmp2, %x
139138
; CHECK: Cost of 5 for VF 2: profitable to scalarize %tmp4 = udiv i32 %tmp2, %tmp3
139+
; CHECK: Cost of 3 for VF 2: profitable to scalarize %tmp3 = add nsw i32 %tmp2, %x
140140
;
141141

142142
define i32 @predicated_udiv_scalarized_operand(ptr %a, i1 %c, i32 %x, i64 %n) {
@@ -181,8 +181,8 @@ for.end:
181181
;
182182
; CHECK: Scalarizing: %tmp2 = add nsw i32 %tmp1, %x
183183
; CHECK: Scalarizing and predicating: store i32 %tmp2, ptr %tmp0, align 4
184-
; CHECK: Cost of 3 for VF 2: profitable to scalarize %tmp2 = add nsw i32 %tmp1, %x
185184
; CHECK: Cost of 2 for VF 2: profitable to scalarize store i32 %tmp2, ptr %tmp0, align 4
185+
; CHECK: Cost of 3 for VF 2: profitable to scalarize %tmp2 = add nsw i32 %tmp1, %x
186186
;
187187
define void @predicated_store_scalarized_operand(ptr %a, i1 %c, i32 %x, i64 %n) {
188188
entry:
@@ -233,8 +233,8 @@ for.end:
233233
; CHECK: Scalarizing and predicating: %tmp4 = udiv i32 %tmp3, %tmp2
234234
; CHECK: Scalarizing: %tmp5 = sub i32 %tmp4, %x
235235
; CHECK: Scalarizing and predicating: store i32 %tmp5, ptr %tmp0, align 4
236-
; CHECK: Cost of 7 for VF 2: profitable to scalarize %tmp4 = udiv i32 %tmp3, %tmp2
237236
; CHECK: Cost of 7 for VF 2: profitable to scalarize %tmp3 = sdiv i32 %tmp1, %tmp2
237+
; CHECK: Cost of 7 for VF 2: profitable to scalarize %tmp4 = udiv i32 %tmp3, %tmp2
238238
; CHECK: Cost of 2 for VF 2: profitable to scalarize store i32 %tmp5, ptr %tmp0, align 4
239239
; CHECK: Cost of 3 for VF 2: profitable to scalarize %tmp5 = sub i32 %tmp4, %x
240240
; CHECK: Cost of 1 for VF 2: WIDEN ir<%tmp2> = add ir<%tmp1>, ir<%x>

0 commit comments

Comments
 (0)