[llvm] r182017 - Add more test coverage for addFrameMove.
Rafael Espindola
rafael.espindola at gmail.com
Thu May 16 08:18:50 PDT 2013
Author: rafael
Date: Thu May 16 10:18:50 2013
New Revision: 182017
URL: http://llvm.org/viewvc/llvm-project?rev=182017&view=rev
Log:
Add more test coverage for addFrameMove.
Modified:
llvm/trunk/test/CodeGen/AArch64/large-frame.ll
Modified: llvm/trunk/test/CodeGen/AArch64/large-frame.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/large-frame.ll?rev=182017&r1=182016&r2=182017&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/large-frame.ll (original)
+++ llvm/trunk/test/CodeGen/AArch64/large-frame.ll Thu May 16 10:18:50 2013
@@ -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
}
More information about the llvm-commits
mailing list