Files
clang-p2996/llvm/test/CodeGen/PowerPC/pie.ll
Rafael Espindola 928a95d0b0 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}