xref: /llvm-project/llvm/test/CodeGen/PowerPC/pr62372.ll (revision 6127f15e5b4834411e8f2e700e25c40490deec35)
1; RUN: llc -ppc-asm-full-reg-names -mcpu=pwr10 -mtriple powerpc64le-unknown-linux-gnu \
2; RUN: -o - %s | FileCheck %s
3
4@bar = dso_local global i32 0, align 4
5
6define dso_local ptr @foo() #0 {
7entry:
8  ret ptr @bar
9}
10
11attributes #0 = { "use-soft-float"="true" }
12
13; CHECK: paddi r3, 0, bar@PCREL, 1
14