xref: /llvm-project/llvm/test/CodeGen/PowerPC/pie.ll (revision 88cadb894ce2b3ba72a91db84504963cf3db991d)
1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-pc-linux -relocation-model=pic | FileCheck %s
2
3
4define dso_local void @f() {
5  ret void
6}
7
8define dso_local void @g() {
9; CHECK: g:
10; CHECK: bl f{{$}}
11  call void @f()
12  ret void
13}
14
15!llvm.module.flags = !{!0}
16!0 = !{i32 1, !"PIE Level", i32 1}
17