1 ; Test the stacksave builtin.
3 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
5 declare ptr@llvm.stacksave()
7 define void @f1(ptr %dest) {
9 ; CHECK: stg %r15, 0(%r2)
11 %addr = call ptr@llvm.stacksave()
12 store volatile ptr %addr, ptr %dest