llvm/test/CodeGen/PowerPC/pr62372.ll
raw| 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 | |
| 6 | define dso_local ptr @foo() #0 { |
| 7 | entry: |
| 8 | ret ptr @bar |
| 9 | } |
| 10 | |
| 11 | attributes #0 = { "use-soft-float"="true" } |
| 12 | |
| 13 | ; CHECK: paddi r3, 0, bar@PCREL, 1 |