llvm-6502/test/CodeGen/ARM/fast-tail-call.ll
Saleem Abdulrasool 2b42ff6fdb ARM: remove ancient -arm-tail-calls option
This option is from 2010, designed to work around a linker issue on Darwin for
ARM.  According to grosbach this is no longer an issue and this option can
safely be removed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203576 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-11 15:09:49 +00:00

17 lines
389 B
LLVM

; RUN: llc -mtriple=thumbv7-linux-gnueabi -O0 < %s | FileCheck %s
; Primarily a non-crash test: Thumbv7 Linux does not have FastISel support,
; which led (via a convoluted route) to DAG nodes after a TC_RETURN that
; couldn't possibly work.
declare i8* @g(i8*)
define i8* @f(i8* %a) {
entry:
%0 = tail call i8* @g(i8* %a)
ret i8* %0
; CHECK: b g
; CHECK-NOT: ldr
; CHECK-NOT: str
}