You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
421 B
19 lines
421 B
4 months ago
|
; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 -relocation-model pic -mattr=+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: .p2align 2
|
||
|
; CHECK: [[CPI]]:
|
||
|
; CHECK: .long callee
|
||
|
|