summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/frame-address.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-05-16 14:51:26 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-05-16 14:51:26 +0000
commit1f2584025d7cfb7727086316867fcbeaf9e74bb1 (patch)
tree4fe1a1eb6e66965f84473cc8003b3a7072ce9754 /llvm/test/CodeGen/Mips/frame-address.ll
parent12d09f3a3dd72baa442f876ed00cb03d9bf2a8db (diff)
downloadbcm5719-llvm-1f2584025d7cfb7727086316867fcbeaf9e74bb1.tar.gz
bcm5719-llvm-1f2584025d7cfb7727086316867fcbeaf9e74bb1.zip
Add more addFrameMove test coverage.
llvm-svn: 182011
Diffstat (limited to 'llvm/test/CodeGen/Mips/frame-address.ll')
-rw-r--r--llvm/test/CodeGen/Mips/frame-address.ll7
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Mips/frame-address.ll b/llvm/test/CodeGen/Mips/frame-address.ll
index 92946d9ffd6..0ab7da30e78 100644
--- a/llvm/test/CodeGen/Mips/frame-address.ll
+++ b/llvm/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
}
OpenPOWER on IntegriCloud