xref: /aosp_15_r20/external/llvm/test/CodeGen/PowerPC/pie.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s -mtriple=powerpc-pc-linux -relocation-model=pic | FileCheck %s
2
3
4define void @f() {
5  ret void
6}
7
8define 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