summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-12-03 01:10:18 +0000
committerDan Gohman <gohman@apple.com>2008-12-03 01:10:18 +0000
commit971c88f3b2e45331d2ecd660f8e0dbfc1e240d40 (patch)
treee1a4d1568c94fab3666a76bd728e0e77f63adac7 /llvm
parentf326f4056ebbbc239dd01f6170897bbead6cee0b (diff)
downloadbcm5719-llvm-971c88f3b2e45331d2ecd660f8e0dbfc1e240d40.tar.gz
bcm5719-llvm-971c88f3b2e45331d2ecd660f8e0dbfc1e240d40.zip
Add nounwind attributes to this test.
llvm-svn: 60451
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/CodeGen/X86/tailcallbyval.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/tailcallbyval.ll b/llvm/test/CodeGen/X86/tailcallbyval.ll
index 112a497f75e..2861bb12582 100644
--- a/llvm/test/CodeGen/X86/tailcallbyval.ll
+++ b/llvm/test/CodeGen/X86/tailcallbyval.ll
@@ -5,14 +5,14 @@
i32, i32, i32, i32, i32, i32, i32, i32,
i32, i32, i32, i32, i32, i32, i32, i32 }
-define fastcc i32 @tailcallee(%struct.s* byval %a) {
+define fastcc i32 @tailcallee(%struct.s* byval %a) nounwind {
entry:
%tmp2 = getelementptr %struct.s* %a, i32 0, i32 0
%tmp3 = load i32* %tmp2
ret i32 %tmp3
}
-define fastcc i32 @tailcaller(%struct.s* byval %a) {
+define fastcc i32 @tailcaller(%struct.s* byval %a) nounwind {
entry:
%tmp4 = tail call fastcc i32 @tailcallee(%struct.s* %a byval)
ret i32 %tmp4
OpenPOWER on IntegriCloud