From 3808c4d20635add28e74dcef0601fdf030d20353 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 16 May 2013 15:18:50 +0000 Subject: [PATCH] Add more test coverage for addFrameMove. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182017 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/AArch64/large-frame.ll | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/CodeGen/AArch64/large-frame.ll b/test/CodeGen/AArch64/large-frame.ll index 2b2e1295c4f..690b21d3106 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 } -- 2.34.1