aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/PowerPC/pr62372.ll
blob: 8df236adc92d7b6d77e7c2971ee8112fb4d8afde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llc -ppc-asm-full-reg-names -mcpu=pwr10 -mtriple powerpc64le-unknown-linux-gnu \
; RUN: -o - %s | FileCheck %s

@bar = dso_local global i32 0, align 4

define dso_local ptr @foo() #0 {
entry:
  ret ptr @bar
}

attributes #0 = { "use-soft-float"="true" }

; CHECK: paddi r3, 0, bar@PCREL, 1