diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-04-05 00:30:36 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-04-05 00:30:36 +0000 |
commit | f77b5ef3d054a78bc8ab3a61742112eb7faea1f4 (patch) | |
tree | d282cabee197e54a06877477d9bbda5fcdd65b5e /llvm/test/CodeGen/X86/vec_set-6.ll | |
parent | 0ce4a7cc4440f1f66d91ad61057790eb196f2e4a (diff) | |
download | bcm5719-llvm-f77b5ef3d054a78bc8ab3a61742112eb7faea1f4.tar.gz bcm5719-llvm-f77b5ef3d054a78bc8ab3a61742112eb7faea1f4.zip |
Favors pshufd over shufps when shuffling elements from one vector. pshufd is faster than shufps.
llvm-svn: 49244
Diffstat (limited to 'llvm/test/CodeGen/X86/vec_set-6.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/vec_set-6.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/vec_set-6.ll b/llvm/test/CodeGen/X86/vec_set-6.ll index a28c54491f6..1eeedf184dd 100644 --- a/llvm/test/CodeGen/X86/vec_set-6.ll +++ b/llvm/test/CodeGen/X86/vec_set-6.ll @@ -2,7 +2,7 @@ ; RUN: grep unpcklps %t | count 1 ; RUN: grep shufps %t | count 1 -define <4 x float> @test(float %a, float %b, float %c) { +define <4 x float> @test(float %a, float %b, float %c) nounwind { %tmp = insertelement <4 x float> zeroinitializer, float %a, i32 1 ; <<4 x float>> [#uses=1] %tmp8 = insertelement <4 x float> %tmp, float %b, i32 2 ; <<4 x float>> [#uses=1] %tmp10 = insertelement <4 x float> %tmp8, float %c, i32 3 ; <<4 x float>> [#uses=1] |