1; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 -relocation-model pic -mattr=+long-calls -o - %s \
2; RUN:    | FileCheck %s
3
4declare arm_aapcs_vfpcc void @callee()
5
6define arm_aapcs_vfpcc void @caller() nounwind {
7entry:
8  tail call void @callee()
9  ret void
10}
11
12; CHECK-LABEL: caller
13; CHECK: ldr [[REG:r[0-9]+]], [[CPI:LCPI[_0-9]+]]
14; CHECK: bx [[REG]]
15; CHECK: .p2align 2
16; CHECK: [[CPI]]:
17; CHECK: .long callee
18
19