diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-06-07 06:52:44 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-06-07 06:52:44 +0000 |
commit | 3234587213b624e90581208794a17ebfab575a33 (patch) | |
tree | f9e495f17b9ba8594a6c6d3e80beea42e55e7be5 /llvm/test/CodeGen/X86/vec_set-6.ll | |
parent | cc1305899874dbc4349314684b75235ed25309a2 (diff) | |
download | bcm5719-llvm-3234587213b624e90581208794a17ebfab575a33.tar.gz bcm5719-llvm-3234587213b624e90581208794a17ebfab575a33.zip |
Slightly generalize the code that handles shuffles of consecutive loads
on x86 to handle more cases. Fix a bug in said code that would cause it
to read past the end of an object. Rewrite the code in
SelectionDAGLegalize::ExpandBUILD_VECTOR to be a bit more general.
Remove PerformBuildVectorCombine, which is no longer necessary with
these changes. In addition to simplifying the code, with this change,
we can now catch a few more cases of consecutive loads.
llvm-svn: 73012
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 02df526cee8..c7b6747a86f 100644 --- a/llvm/test/CodeGen/X86/vec_set-6.ll +++ b/llvm/test/CodeGen/X86/vec_set-6.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t -f ; RUN: grep movss %t | count 1 -; RUN: grep movups %t | count 1 +; RUN: grep movq %t | count 1 ; RUN: grep shufps %t | count 1 define <4 x float> @test(float %a, float %b, float %c) nounwind { |