mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
19 lines
393 B
LLVM
19 lines
393 B
LLVM
|
; 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
|
||
|
|