mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Add / merge tests.
llvm-svn: 33654
This commit is contained in:
parent
d0ed3f753b
commit
228c786e28
@ -1,10 +0,0 @@
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc -f -march=arm -o %t.s &&
|
||||
; RUN: not grep "add r13, r13, #0" < %t.s &&
|
||||
; RUN: not grep "sub r13, r13, #0" < %t.s
|
||||
|
||||
int %f() {
|
||||
entry:
|
||||
ret int 1
|
||||
}
|
||||
|
||||
|
15
test/CodeGen/ARM/stack-frame.ll
Normal file
15
test/CodeGen/ARM/stack-frame.ll
Normal file
@ -0,0 +1,15 @@
|
||||
; RUN: llvm-as < %s | llc -march=arm &&
|
||||
; RUN: llvm-as < %s | llc -march=arm | grep add | wc -l | grep 1 &&
|
||||
; RUN: llvm-as < %s | llc -march=arm -enable-thumb &&
|
||||
; RUN: llvm-as < %s | llc -march=arm -enable-thumb | grep add | wc -l | grep 1
|
||||
|
||||
define void @f1() {
|
||||
%c = alloca i8, align 1
|
||||
ret void
|
||||
}
|
||||
|
||||
define i32 @f2() {
|
||||
ret i32 1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user