mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-27 22:55:25 +00:00
Fix WAsm test after LSR change in r278658
Now the increment is done in a different location git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278713 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1741b5a541
commit
ade7edf502
@ -16,23 +16,23 @@ declare void @something()
|
||||
; CHECK-LABEL: test0:
|
||||
; CHECK: loop
|
||||
; CHECK-NEXT: block
|
||||
; CHECK-NEXT: i32.const
|
||||
; CHECK-NEXT: i32.add
|
||||
; CHECK: i32.lt_s
|
||||
; CHECK-NEXT: br_if
|
||||
; CHECK-NEXT: return
|
||||
; CHECK-NEXT: .LBB0_3:
|
||||
; CHECK-NEXT: end_block
|
||||
; CHECK-NEXT: i32.const
|
||||
; CHECK-NEXT: i32.add
|
||||
; CHECK-NEXT: call
|
||||
; CHECK-NEXT: br
|
||||
; CHECK-NEXT: .LBB0_4:
|
||||
; CHECK-NEXT: end_loop
|
||||
; OPT-LABEL: test0:
|
||||
; OPT: loop
|
||||
; OPT-NEXT: i32.const
|
||||
; OPT-NEXT: i32.add
|
||||
; OPT: i32.ge_s
|
||||
; OPT-NEXT: br_if
|
||||
; OPT-NEXT: i32.const
|
||||
; OPT-NEXT: i32.add
|
||||
; OPT-NOT: br
|
||||
; OPT: call
|
||||
; OPT: br 0{{$}}
|
||||
@ -61,23 +61,23 @@ back:
|
||||
; CHECK-LABEL: test1:
|
||||
; CHECK: loop
|
||||
; CHECK-NEXT: block
|
||||
; CHECK-NEXT: i32.const
|
||||
; CHECK-NEXT: i32.add
|
||||
; CHECK: i32.lt_s
|
||||
; CHECK-NEXT: br_if
|
||||
; CHECK-NEXT: return
|
||||
; CHECK-NEXT: .LBB1_3:
|
||||
; CHECK-NEXT: end_block
|
||||
; CHECK-NEXT: i32.const
|
||||
; CHECK-NEXT: i32.add
|
||||
; CHECK-NEXT: call
|
||||
; CHECK-NEXT: br
|
||||
; CHECK-NEXT: .LBB1_4:
|
||||
; CHECK-NEXT: end_loop
|
||||
; OPT-LABEL: test1:
|
||||
; OPT: loop
|
||||
; OPT-NEXT: i32.const
|
||||
; OPT-NEXT: i32.add
|
||||
; OPT: i32.ge_s
|
||||
; OPT-NEXT: br_if
|
||||
; OPT-NEXT: i32.const
|
||||
; OPT-NEXT: i32.add
|
||||
; OPT-NOT: br
|
||||
; OPT: call
|
||||
; OPT: br 0{{$}}
|
||||
|
Loading…
Reference in New Issue
Block a user