summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/pie.ll
blob: 56e07caf2812567f0d9ba6f10fecbee94806adae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; 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}
OpenPOWER on IntegriCloud