Add nounwind.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50837 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2008-05-07 22:59:08 +00:00
parent 0b12ecf6ff
commit 687bcb2be0
25 changed files with 39 additions and 58 deletions

View File

@@ -4,8 +4,7 @@
; RUN: llvm-as < %s | llc -march=x86-64 | grep pd | count 4
; RUN: llvm-as < %s | llc -march=x86-64 | grep movup | count 4
define <4 x float> @a(<4 x float>* %y)
{
define <4 x float> @a(<4 x float>* %y) nounwind {
%x = load <4 x float>* %y, align 4
%a = extractelement <4 x float> %x, i32 0
%b = extractelement <4 x float> %x, i32 1
@@ -17,8 +16,7 @@ define <4 x float> @a(<4 x float>* %y)
%s = insertelement <4 x float> %r, float %a, i32 3
ret <4 x float> %s
}
define <4 x float> @b(<4 x float>* %y, <4 x float> %z)
{
define <4 x float> @b(<4 x float>* %y, <4 x float> %z) nounwind {
%x = load <4 x float>* %y, align 4
%a = extractelement <4 x float> %x, i32 2
%b = extractelement <4 x float> %x, i32 3