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
4 @g = weak alias i32 (), ptr @f
8 ; CHECK: # %bb.0: # %entry
9 ; CHECK-NEXT: pushq %rax
10 ; CHECK-NEXT: .cfi_def_cfa_offset 16
11 ; CHECK-NEXT: callq g@PLT
12 ; CHECK-NEXT: popq %rax
13 ; CHECK-NEXT: .cfi_def_cfa_offset 8
16 %tmp31 = call i32 @g()
20 define weak i32 @f() {
23 ; CHECK-NEXT: movl $42, %eax