[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / CodeGen / ARM / Windows / long-calls.ll
blobf56701df76c59784246223ab1aa3a0f8cc0f82f3
1 ; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 -relocation-model pic -mattr=+long-calls -o - %s \
2 ; RUN:    | FileCheck %s
4 declare arm_aapcs_vfpcc void @callee()
6 define arm_aapcs_vfpcc void @caller() nounwind {
7 entry:
8   tail call void @callee()
9   ret void
12 ; CHECK-LABEL: caller
13 ; CHECK: ldr [[REG:r[0-9]+]], [[CPI:\.LCPI[_0-9]+]]
14 ; CHECK: bx [[REG]]
15 ; CHECK: .p2align 2
16 ; CHECK: [[CPI]]:
17 ; CHECK: .long callee