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