llvm-6502/test/CodeGen/ARM/stack-frame.ll
Evan Cheng c9670d3cbc Add / merge tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33654 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-30 03:06:19 +00:00

16 lines
334 B
LLVM

; 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
}