mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
add a test for adds adcs
llvm-svn: 30832
This commit is contained in:
parent
0c057ef048
commit
6abf128f64
@ -3,7 +3,9 @@
|
||||
; RUN: llvm-as < %s | llc -march=arm | grep "mov r0, #1" | wc -l | grep 1 &&
|
||||
; RUN: llvm-as < %s | llc -march=arm | grep ".word.*2147483647" | wc -l | grep 2 &&
|
||||
; RUN: llvm-as < %s | llc -march=arm | grep "mov r0, #-2147483648" | wc -l | grep 1 &&
|
||||
; RUN: llvm-as < %s | llc -march=arm | grep ".word.*4294967295" | wc -l | grep 1
|
||||
; RUN: llvm-as < %s | llc -march=arm | grep ".word.*4294967295" | wc -l | grep 1 &&
|
||||
; RUN: llvm-as < %s | llc -march=arm | grep "adds" | wc -l | grep 1 &&
|
||||
; RUN: llvm-as < %s | llc -march=arm | grep "adcs" | wc -l | grep 1
|
||||
|
||||
long %f1() {
|
||||
entry:
|
||||
@ -29,3 +31,9 @@ long %f5() {
|
||||
entry:
|
||||
ret long 9223372036854775807
|
||||
}
|
||||
|
||||
ulong %f6(ulong %x, ulong %y) {
|
||||
entry:
|
||||
%tmp1 = add ulong %y, 1
|
||||
ret ulong %tmp1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user