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