1 ; RUN: llc -relocation-model=static -verify-machineinstrs -mtriple powerpc64-linux < %s | FileCheck %s
2 ; RUN: llc -relocation-model=static -verify-machineinstrs -O0 -mtriple powerpc64-linux < %s | FileCheck %s
4 define dso_local void @foo() {
9 ; CHECK-LABEL: {{^}}zed:
10 ; CHECK: addis 3, 2, foo@toc@ha
11 ; CHECK-NEXT: addi 3, 3, foo@toc@l
15 call i32 @bar(ptr @foo)