llvm/test/CodeGen/ARM/frame_thumb.ll
Lauro Ramos Venancio fdc9692f97 In Thumb mode, the frame register must be R7.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36512 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-27 17:58:03 +00:00

10 lines
265 B
LLVM

; RUN: llvm-as < %s | llc -march=thumb -mtriple=arm-apple-darwin \
; RUN: -disable-fp-elim | not grep {r11}
; RUN: llvm-as < %s | llc -march=thumb -mtriple=arm-linux-gnueabi \
; RUN: -disable-fp-elim | not grep {r11}
define i32 @f() {
entry:
ret i32 10
}