Files
archived-llvm/test/CodeGen/PowerPC/pie.ll
Rafael Espindola bf7782c956 Use shouldAssumeDSOLocal.
With this it handle -fPIE.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273499 91177308-0d34-0410-b5e6-96231b3b80d8
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}