diff options
author | Tanya Lattner <tonic@nondot.org> | 2008-02-21 07:42:26 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2008-02-21 07:42:26 +0000 |
commit | 33eefffb2b25b5f4a313f08fa7c57ddfcbccf36e (patch) | |
tree | c8a69f1be3db80d136ec9dcc8e41d9d5affd35ad /test/CodeGen/X86/vec_set-6.ll | |
parent | 7c1687c196e8dc89a4722e0463965f0b0f5f399c (diff) | |
download | external_llvm-33eefffb2b25b5f4a313f08fa7c57ddfcbccf36e.zip external_llvm-33eefffb2b25b5f4a313f08fa7c57ddfcbccf36e.tar.gz external_llvm-33eefffb2b25b5f4a313f08fa7c57ddfcbccf36e.tar.bz2 |
Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/vec_set-6.ll')
-rw-r--r-- | test/CodeGen/X86/vec_set-6.ll | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/CodeGen/X86/vec_set-6.ll b/test/CodeGen/X86/vec_set-6.ll index ae9e7e6..a28c544 100644 --- a/test/CodeGen/X86/vec_set-6.ll +++ b/test/CodeGen/X86/vec_set-6.ll @@ -1,10 +1,11 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 -o %t -f +; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t -f ; RUN: grep unpcklps %t | count 1 ; RUN: grep shufps %t | count 1 -<4 x float> %test(float %a, float %b, float %c) { - %tmp = insertelement <4 x float> zeroinitializer, float %a, uint 1 - %tmp8 = insertelement <4 x float> %tmp, float %b, uint 2 - %tmp10 = insertelement <4 x float> %tmp8, float %c, uint 3 - ret <4 x float> %tmp10 +define <4 x float> @test(float %a, float %b, float %c) { + %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] + ret <4 x float> %tmp10 } + |