source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/Windows/long-calls.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 395 bytes
Line 
1; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 -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: .align 2
16; CHECK: [[CPI]]:
17; CHECK: .long callee
18
Note: See TracBrowser for help on using the repository browser.