1; RUN: llc -mtriple=thumbv7-linux-gnueabi -O0 < %s | FileCheck %s
2
3; Primarily a non-crash test: Thumbv7 Linux does not have FastISel support,
4; which led (via a convoluted route) to DAG nodes after a TC_RETURN that
5; couldn't possibly work.
6
7declare i8* @g(i8*)
8
9define i8* @f(i8* %a) {
10entry:
11  %0 = tail call i8* @g(i8* %a)
12  ret i8* %0
13; CHECK: b g
14; CHECK-NOT: ldr
15; CHECK-NOT: str
16}
17