aboutsummaryrefslogtreecommitdiff
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
commit7f9b35200bf442c6d8978213f6117fe0d712325e (patch)
tree49acad79e6120b1cb108ccb57576e65612b2fe6c
parent3cc1b8d9c68a8888139b53abfee98784775f18d4 (diff)
Add nounwind attributes to this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60451 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/X86/tailcallbyval.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/tailcallbyval.ll b/test/CodeGen/X86/tailcallbyval.ll
index 112a497f75..2861bb1258 100644
--- a/test/CodeGen/X86/tailcallbyval.ll
+++ b/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