aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/SystemZ/frame-11.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/SystemZ/frame-11.ll')
-rw-r--r--test/CodeGen/SystemZ/frame-11.ll25
1 files changed, 0 insertions, 25 deletions
diff --git a/test/CodeGen/SystemZ/frame-11.ll b/test/CodeGen/SystemZ/frame-11.ll
deleted file mode 100644
index 575a4335d5da..000000000000
--- a/test/CodeGen/SystemZ/frame-11.ll
+++ /dev/null
@@ -1,25 +0,0 @@
-; Test the stackrestore builtin.
-;
-; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
-
-declare i8 *@llvm.stacksave()
-declare void @llvm.stackrestore(i8 *)
-
-; we should use a frame pointer and tear down the frame based on %r11
-; rather than %r15.
-define void @f1(i32 %count1, i32 %count2) {
-; CHECK-LABEL: f1:
-; CHECK: stmg %r11, %r15, 88(%r15)
-; CHECK: aghi %r15, -160
-; CHECK: lgr %r11, %r15
-; CHECK: lgr %r15, %r{{[0-5]}}
-; CHECK: lmg %r11, %r15, 248(%r11)
-; CHECK: br %r14
- %src = call i8 *@llvm.stacksave()
- %array1 = alloca i8, i32 %count1
- store volatile i8 0, i8 *%array1
- call void @llvm.stackrestore(i8 *%src)
- %array2 = alloca i8, i32 %count2
- store volatile i8 0, i8 *%array2
- ret void
-}