1 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
2 ; RUN: -mcpu=pwr10 -ppc-asm-full-reg-names < %s | FileCheck %s
3 ; RUN: llc -verify-machineinstrs -target-abi=elfv2 -mtriple=powerpc64-- \
4 ; RUN: -mcpu=pwr10 -ppc-asm-full-reg-names < %s | FileCheck %s
5 define dso_local void @blockaddress() {
6 ; CHECK-LABEL: blockaddress:
7 ; CHECK: # %bb.0: # %entry
8 ; CHECK: paddi r3, 0, .Ltmp0@PCREL, 1
9 ; CHECK: bl helper@notoc
11 tail call void @helper(ptr blockaddress(@blockaddress, %label))
14 label: ; preds = %entry
18 declare void @helper(ptr)