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