brintos

brintos / llvm-project-archived public Read only

0
0
Text · 388 B · 29b5f4d Raw
19 lines · plain
1; Test blockaddress.2;3; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s4 5; Do some arbitrary work and return the address of the following label.6define ptr@f1(ptr %addr) {7; CHECK-LABEL: f1:8; CHECK: mvi 0(%r2), 19; CHECK: [[LABEL:\.L.*]]:10; CHECK: larl %r2, [[LABEL]]11; CHECK: br %r1412entry:13  store i8 1, ptr %addr14  br label %b.lab15 16b.lab:17  ret ptr blockaddress(@f1, %b.lab)18}19