1 ; RUN: llc -mtriple aarch64-pc-linux -relocation-model=pic < %s | FileCheck %s 2 3 @g1 = global i32 42 4 5 define i32* @get_g1() { 6 ; CHECK: get_g1: 7 ; CHECK: adrp x0, g1 8 ; CHECK-NEXT: add x0, x0, :lo12:g1 9 ret i32* @g1 10 } 11 12 !llvm.module.flags = !{!0} 13 14 !0 = !{i32 1, !"PIE Level", i32 2} 15