1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic | FileCheck %s 3 4@a = global i32 0 5 6define i32 @get_a() { 7; CHECK-LABEL: get_a: 8; CHECK: # %bb.0: # %entry 9; CHECK-NEXT: movq a@GOTPCREL(%rip), %rax 10; CHECK-NEXT: movl (%rax), %eax 11; CHECK-NEXT: retq 12entry: 13 %tmp1 = load i32, ptr @a, align 4 14 ret i32 %tmp1 15} 16