1 ; Test blockaddress. 2 ; 3 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s 4 5 ; Do some arbitrary work and return the address of the following label. 6 define i8 *@f1(i8 *%addr) { 7 ; CHECK-LABEL: f1: 8 ; CHECK: mvi 0(%r2), 1 9 ; CHECK: [[LABEL:\.L.*]]: 10 ; CHECK: larl %r2, [[LABEL]] 11 ; CHECK: br %r14 12 entry: 13 store i8 1, i8 *%addr 14 br label %b.lab 15 16 b.lab: 17 ret i8 *blockaddress(@f1, %b.lab) 18 } 19