llvm.org GIT mirror llvm / release_39 test / CodeGen / PowerPC / pie.ll
release_39

Tree @release_39 (Download .tar.gz)

pie.ll @release_39raw · history · blame

; 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}