1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
3 define ptr @get_stack() nounwind {
5 ; CHECK-LABEL: get_stack:
8 %0 = call i64 @llvm.read_register.i64(metadata !0)
9 %1 = inttoptr i64 %0 to ptr
13 declare i64 @llvm.read_register.i64(metadata) nounwind