diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-30 16:16:01 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-30 16:16:01 +0000 |
commit | af6a408117c52f4d104080514c8d3df58e271128 (patch) | |
tree | 756570c9e0b56bca06155af989d9d204ac4f1782 /llvm/test/CodeGen/X86/vec_set-3.ll | |
parent | 6f880918d06eb59214ea677a27d9a628ac67f586 (diff) | |
download | bcm5719-llvm-af6a408117c52f4d104080514c8d3df58e271128.tar.gz bcm5719-llvm-af6a408117c52f4d104080514c8d3df58e271128.zip |
For PR411:
Update these tests to not use the same name even though the type of the
value differs. After PR411 hits, type planes will be gone and it will be
illegal for a name to be used twice, regardless of type.
llvm-svn: 33660
Diffstat (limited to 'llvm/test/CodeGen/X86/vec_set-3.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/vec_set-3.ll | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/vec_set-3.ll b/llvm/test/CodeGen/X86/vec_set-3.ll index 5cb133c134b..23c5808af12 100644 --- a/llvm/test/CodeGen/X86/vec_set-3.ll +++ b/llvm/test/CodeGen/X86/vec_set-3.ll @@ -1,5 +1,7 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | grep shufps | wc -l | grep 1 && -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | grep pshufd | wc -l | grep 1 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | \ +; RUN: grep shufps | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | \ +; RUN: grep pshufd | wc -l | grep 1 <4 x float> %test(float %a) { %tmp = insertelement <4 x float> zeroinitializer, float %a, uint 1 @@ -8,7 +10,7 @@ ret <4 x float> %tmp6 } -<2 x long> %test(int %a) { +<2 x long> %test2(int %a) { %tmp7 = insertelement <4 x int> zeroinitializer, int %a, uint 2 %tmp9 = insertelement <4 x int> %tmp7, int 0, uint 3 %tmp10 = cast <4 x int> %tmp9 to <2 x long> |