mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 03:32:21 +00:00
Add / merge tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33654 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
236f677e48
commit
c9670d3cbc
@ -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…
x
Reference in New Issue
Block a user