Add nounwind attributes to this test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-12-03 01:10:18 +00:00
parent 3cc1b8d9c6
commit 7f9b35200b

View File

@ -5,14 +5,14 @@
i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32,
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: entry:
%tmp2 = getelementptr %struct.s* %a, i32 0, i32 0 %tmp2 = getelementptr %struct.s* %a, i32 0, i32 0
%tmp3 = load i32* %tmp2 %tmp3 = load i32* %tmp2
ret i32 %tmp3 ret i32 %tmp3
} }
define fastcc i32 @tailcaller(%struct.s* byval %a) { define fastcc i32 @tailcaller(%struct.s* byval %a) nounwind {
entry: entry:
%tmp4 = tail call fastcc i32 @tailcallee(%struct.s* %a byval) %tmp4 = tail call fastcc i32 @tailcallee(%struct.s* %a byval)
ret i32 %tmp4 ret i32 %tmp4