brintos

brintos / llvm-project-archived public Read only

0
0
Text · 414 B · 108a5d2 Raw
16 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic | FileCheck %s3 4@a = global i32 05 6define i32 @get_a() {7; CHECK-LABEL: get_a:8; CHECK:       # %bb.0: # %entry9; CHECK-NEXT:    movq a@GOTPCREL(%rip), %rax10; CHECK-NEXT:    movl (%rax), %eax11; CHECK-NEXT:    retq12entry:13	%tmp1 = load i32, ptr @a, align 414	ret i32 %tmp115}16