1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 06:22:56 +02:00
llvm-mirror/test/CodeGen/PowerPC/pie.ll
Rafael Espindola 6c4a0b7a05 Use shouldAssumeDSOLocal.
With this it handle -fPIE.

llvm-svn: 273499
2016-06-22 22:09:17 +00:00

17 lines
257 B
LLVM

; RUN: llc < %s -mtriple=powerpc-pc-linux -relocation-model=pic | FileCheck %s
define void @f() {
ret void
}
define void @g() {
; CHECK: g:
; CHECK: bl f{{$}}
call void @f()
ret void
}
!llvm.module.flags = !{!0}
!0 = !{i32 1, !"PIE Level", i32 1}