diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-06-19 07:00:55 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-06-19 07:00:55 +0000 |
commit | 7e2242be71bc44ab1447b5211b3c0f1cec94c467 (patch) | |
tree | ad3903b269224311358f4ad4074a42b39c9ae8fd /test/CodeGen/X86/2009-06-18-movlp-shuffle-register.ll | |
parent | 7a42b08be8836149ea4e3f95ddcc42e198561df3 (diff) | |
download | llvm-7e2242be71bc44ab1447b5211b3c0f1cec94c467.tar.gz llvm-7e2242be71bc44ab1447b5211b3c0f1cec94c467.tar.bz2 llvm-7e2242be71bc44ab1447b5211b3c0f1cec94c467.tar.xz |
Fix for PR2484: add an SSE1 pattern for a shuffle we normally prefer to
handle with an SSE2 instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73760 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2009-06-18-movlp-shuffle-register.ll')
-rw-r--r-- | test/CodeGen/X86/2009-06-18-movlp-shuffle-register.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2009-06-18-movlp-shuffle-register.ll b/test/CodeGen/X86/2009-06-18-movlp-shuffle-register.ll new file mode 100644 index 0000000000..d6ff5b6803 --- /dev/null +++ b/test/CodeGen/X86/2009-06-18-movlp-shuffle-register.ll @@ -0,0 +1,9 @@ +; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse,-sse2 +; PR2484 + +define <4 x float> @f4523(<4 x float> %a,<4 x float> %b) nounwind { +entry: +%shuffle = shufflevector <4 x float> %a, <4 x float> %b, <4 x i32> <i32 4,i32 +5,i32 2,i32 3> +ret <4 x float> %shuffle +} |