summaryrefslogtreecommitdiff
path: root/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/SPARC/2011-01-11-FrameAddr.ll')
-rw-r--r--test/CodeGen/SPARC/2011-01-11-FrameAddr.ll8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll b/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll
index 683d302667..5fd5687ba5 100644
--- a/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll
+++ b/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll
@@ -7,10 +7,14 @@
define i8* @frameaddr() nounwind readnone {
entry:
;V8: frameaddr
-;V8: or %g0, %fp, {{.+}}
+;V8: save %sp, -96, %sp
+;V8: jmp %i7+8
+;V8: restore %g0, %fp, %o0
;V9: frameaddr
-;V9: or %g0, %fp, {{.+}}
+;V9: save %sp, -96, %sp
+;V9: jmp %i7+8
+;V9: restore %g0, %fp, %o0
%0 = tail call i8* @llvm.frameaddress(i32 0)
ret i8* %0
}