]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/ARM/Windows/long-calls.ll
Vendor import of llvm trunk r238337:
[FreeBSD/FreeBSD.git] / test / CodeGen / ARM / Windows / long-calls.ll
1 ; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 -arm-long-calls -o - %s \
2 ; RUN:    | FileCheck %s
3
4 declare arm_aapcs_vfpcc void @callee()
5
6 define arm_aapcs_vfpcc void @caller() nounwind {
7 entry:
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: .align 2
16 ; CHECK: [[CPI]]:
17 ; CHECK: .long callee
18