mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
b5d0510883
- Use storage class C_STAT for 'PrivateLinkage' The storage class for PrivateLinkage should equal to the Internal Linkage. - Set 'PrivateGlobalPrefix' from "L" to ".L" for MM_WinCOFF (includes x86_64) MM_WinCOFF has empty GlobalPrefix '\0' so PrivateGlobalPrefix "L" may conflict to the normal symbol name starting with 'L'. Based on a patch by Han Sangjin! Manually updated test cases. llvm-svn: 284096
19 lines
421 B
LLVM
19 lines
421 B
LLVM
; 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
|
|
|