summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-27 23:53:53 +0000
committerDan Gohman <gohman@apple.com>2010-02-27 23:53:53 +0000
commit45e7ffc35033376730e29a5c72382891f1d0ed5d (patch)
tree4580ca5a5d95f27b1c7ae68bcd2c85a72b171cd9 /llvm
parent8c5d683aa97068eefbba5fbf9e66eb477d93c151 (diff)
downloadbcm5719-llvm-45e7ffc35033376730e29a5c72382891f1d0ed5d.tar.gz
bcm5719-llvm-45e7ffc35033376730e29a5c72382891f1d0ed5d.zip
Add nounwinds.
llvm-svn: 97349
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/CodeGen/X86/vec_insert.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/vec_insert.ll b/llvm/test/CodeGen/X86/vec_insert.ll
index a7274a90004..4e5d445ff62 100644
--- a/llvm/test/CodeGen/X86/vec_insert.ll
+++ b/llvm/test/CodeGen/X86/vec_insert.ll
@@ -1,7 +1,7 @@
; RUN: llc < %s -march=x86 -mattr=+sse2,-sse41 | grep movss | count 1
; RUN: llc < %s -march=x86 -mattr=+sse2,-sse41 | not grep pinsrw
-define void @test(<4 x float>* %F, i32 %I) {
+define void @test(<4 x float>* %F, i32 %I) nounwind {
%tmp = load <4 x float>* %F ; <<4 x float>> [#uses=1]
%f = sitofp i32 %I to float ; <float> [#uses=1]
%tmp1 = insertelement <4 x float> %tmp, float %f, i32 0 ; <<4 x float>> [#uses=2]
@@ -10,7 +10,7 @@ define void @test(<4 x float>* %F, i32 %I) {
ret void
}
-define void @test2(<4 x float>* %F, i32 %I, float %g) {
+define void @test2(<4 x float>* %F, i32 %I, float %g) nounwind {
%tmp = load <4 x float>* %F ; <<4 x float>> [#uses=1]
%f = sitofp i32 %I to float ; <float> [#uses=1]
%tmp1 = insertelement <4 x float> %tmp, float %f, i32 2 ; <<4 x float>> [#uses=1]
OpenPOWER on IntegriCloud