From 26bca5816db8bce2cd40d0548c5d79438038ed16 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 16 May 2013 14:51:26 +0000 Subject: [PATCH] Add more addFrameMove test coverage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182011 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/Mips/frame-address.ll | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/CodeGen/Mips/frame-address.ll b/test/CodeGen/Mips/frame-address.ll index 92946d9ffd6..0ab7da30e78 100644 --- a/test/CodeGen/Mips/frame-address.ll +++ b/test/CodeGen/Mips/frame-address.ll @@ -2,11 +2,16 @@ declare i8* @llvm.frameaddress(i32) nounwind readnone -define i8* @f() nounwind { +define i8* @f() nounwind uwtable { entry: %0 = call i8* @llvm.frameaddress(i32 0) ret i8* %0 +; CHECK: .cfi_startproc +; CHECK: .cfi_def_cfa_offset 8 +; CHECK: .cfi_offset 30, -4 ; CHECK: move $fp, $sp +; CHECK: .cfi_def_cfa_register 30 ; CHECK: move $2, $fp +; CHECK: .cfi_endproc }