mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
tweak test to check instructions rather than relying on the comment string
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114199 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
80d6c96c2a
commit
48afc24274
@ -14,25 +14,25 @@ define i32 @f2() {
|
||||
|
||||
define i32 @f3() {
|
||||
; CHECK: f3
|
||||
; CHECK: mov r0{{.*}}256
|
||||
; CHECK: mov r0, #1, 24
|
||||
ret i32 256
|
||||
}
|
||||
|
||||
define i32 @f4() {
|
||||
; CHECK: f4
|
||||
; CHECK: orr{{.*}}256
|
||||
; CHECK: orr{{.*}}#1, 24
|
||||
ret i32 257
|
||||
}
|
||||
|
||||
define i32 @f5() {
|
||||
; CHECK: f5
|
||||
; CHECK: mov r0, {{.*}}-1073741761
|
||||
; CHECK: mov r0, #255, 2
|
||||
ret i32 -1073741761
|
||||
}
|
||||
|
||||
define i32 @f6() {
|
||||
; CHECK: f6
|
||||
; CHECK: mov r0, {{.*}}1008
|
||||
; CHECK: mov r0, #63, 28
|
||||
ret i32 1008
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user