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 | 908504347b0565c4d4817af444012be76ba4b76f (patch) | |
tree | 443cd5fa4f0eacde4cdb1601d18cd9eb5526ea43 /test/CodeGen/X86/vec_set-3.ll | |
parent | 82d5ee5653fdbd9bdcd75f8509429a0d72c80fa8 (diff) | |
download | llvm-908504347b0565c4d4817af444012be76ba4b76f.tar.gz llvm-908504347b0565c4d4817af444012be76ba4b76f.tar.bz2 llvm-908504347b0565c4d4817af444012be76ba4b76f.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/vec_set-3.ll')
-rw-r--r-- | test/CodeGen/X86/vec_set-3.ll | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/CodeGen/X86/vec_set-3.ll b/test/CodeGen/X86/vec_set-3.ll index 5cb133c134..23c5808af1 100644 --- a/test/CodeGen/X86/vec_set-3.ll +++ b/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> |