1 ; RUN: llc < %s -mtriple=s390x-ibm-zos | FileCheck %s
3 ; CHECK-LABEL: get_stack:
7 define ptr @get_stack() nounwind {
9 %0 = call i64 @llvm.read_register.i64(metadata !0)
10 %1 = inttoptr i64 %0 to ptr
14 declare i64 @llvm.read_register.i64(metadata) nounwind