aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/Windows/long-calls.ll
blob: 21c95fac91c58f2e4cff540531e8a42f3d767815 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 -arm-long-calls -o - %s \
; RUN:    | FileCheck %s

declare arm_aapcs_vfpcc void @callee()

define arm_aapcs_vfpcc void @caller() nounwind {
entry:
  tail call void @callee()
  ret void
}

; CHECK-LABEL: caller
; CHECK: ldr [[REG:r[0-9]+]], [[CPI:LCPI[_0-9]+]]
; CHECK: bx [[REG]]
; CHECK: .align 2
; CHECK: [[CPI]]:
; CHECK: .long callee