mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 10:04:33 +00:00
ARM: fix test for Windows division
This was meant to be part of SVN r267080. cbz cannot use a high register, which would be silently truncated. This has now been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267092 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e0dd87a040
commit
817fdeb9cc
@ -32,8 +32,8 @@ entry:
|
||||
}
|
||||
|
||||
; CHECK-LABEL: sdiv64:
|
||||
; CHECK: orr.w r12, r0, r1
|
||||
; CHECK-NEXT: cbz r12
|
||||
; CHECK: orr.w r4, r0, r1
|
||||
; CHECK-NEXT: cbz r4
|
||||
; CHECK: b
|
||||
; CHECK: udf.w #249
|
||||
; CHECK: bl __rt_sdiv64
|
||||
@ -45,8 +45,8 @@ entry:
|
||||
}
|
||||
|
||||
; CHECK-LABEL: udiv64:
|
||||
; CHECK: orr.w r12, r0, r1
|
||||
; CHECK-NEXT: cbz r12
|
||||
; CHECK: orr.w r4, r0, r1
|
||||
; CHECK-NEXT: cbz r4
|
||||
; CHECK: b
|
||||
; CHECK: udf.w #249
|
||||
; CHECK: bl __rt_udiv64
|
||||
|
Loading…
Reference in New Issue
Block a user