summaryrefslogtreecommitdiff
path: root/test/CodeGen/AArch64
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-05-16 15:18:50 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-05-16 15:18:50 +0000
commit3808c4d20635add28e74dcef0601fdf030d20353 (patch)
treec9ef42eaefd213bd210bc12d453cd2ed61316e94 /test/CodeGen/AArch64
parent992c3817ea904b081a5f584c020800c40c65990e (diff)
downloadllvm-3808c4d20635add28e74dcef0601fdf030d20353.tar.gz
llvm-3808c4d20635add28e74dcef0601fdf030d20353.tar.bz2
llvm-3808c4d20635add28e74dcef0601fdf030d20353.tar.xz
Add more test coverage for addFrameMove.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182017 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/AArch64')
-rw-r--r--test/CodeGen/AArch64/large-frame.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/AArch64/large-frame.ll b/test/CodeGen/AArch64/large-frame.ll
index 2b2e1295c4..690b21d310 100644
--- a/test/CodeGen/AArch64/large-frame.ll
+++ b/test/CodeGen/AArch64/large-frame.ll
@@ -5,16 +5,20 @@ declare void @use_addr(i8*)
define void @test_bigframe() {
; CHECK: test_bigframe:
+; CHECK: .cfi_startproc
%var1 = alloca i8, i32 20000000
%var2 = alloca i8, i32 16
%var3 = alloca i8, i32 20000000
; CHECK: sub sp, sp, #496
+; CHECK: .cfi_def_cfa sp, 496
; CHECK: str x30, [sp, #488]
; Total adjust is 39999536
; CHECK: movz [[SUBCONST:x[0-9]+]], #22576
; CHECK: movk [[SUBCONST]], #610, lsl #16
; CHECK: sub sp, sp, [[SUBCONST]]
+; CHECK: .cfi_def_cfa sp, 40000032
+; CHECK: .cfi_offset x30, -8
; Total offset is 20000024
; CHECK: movz [[VAR1OFFSET:x[0-9]+]], #11544
@@ -41,6 +45,7 @@ define void @test_bigframe() {
; CHECK: movz [[ADDCONST:x[0-9]+]], #22576
; CHECK: movk [[ADDCONST]], #610, lsl #16
; CHECK: add sp, sp, [[ADDCONST]]
+; CHECK: .cfi_endproc
ret void
}