diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-08-16 12:52:06 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-08-16 12:52:06 +0000 |
| commit | cc316f013a72e49ec97ad7f50164be88f611b941 (patch) | |
| tree | 48280f4656f8763bfe59087e6ec13e56177eced3 /llvm/test | |
| parent | 49307c02970ff0284a439108fb476d4da2c508d6 (diff) | |
| download | bcm5719-llvm-cc316f013a72e49ec97ad7f50164be88f611b941.tar.gz bcm5719-llvm-cc316f013a72e49ec97ad7f50164be88f611b941.zip | |
[X86][SSE] Add support for combining v2f64 target shuffles to VZEXT_MOVL byte rotations
The combine was only matching v2i64 as it assumed lowering to MOVQ - but we have v2f64 patterns that match in a similar fashion
llvm-svn: 278794
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/X86/vector-shuffle-combining.ll | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/X86/vector-shuffle-combining.ll b/llvm/test/CodeGen/X86/vector-shuffle-combining.ll index 128ead339f9..6e8fc5ef194 100644 --- a/llvm/test/CodeGen/X86/vector-shuffle-combining.ll +++ b/llvm/test/CodeGen/X86/vector-shuffle-combining.ll @@ -2837,16 +2837,12 @@ define void @combine_scalar_load_with_blend_with_zero(double* %a0, <4 x float>* ; SSE41-LABEL: combine_scalar_load_with_blend_with_zero: ; SSE41: # BB#0: ; SSE41-NEXT: movsd {{.*#+}} xmm0 = mem[0],zero -; SSE41-NEXT: xorpd %xmm1, %xmm1 -; SSE41-NEXT: blendpd {{.*#+}} xmm1 = xmm0[0],xmm1[1] -; SSE41-NEXT: movapd %xmm1, (%rsi) +; SSE41-NEXT: movapd %xmm0, (%rsi) ; SSE41-NEXT: retq ; ; AVX-LABEL: combine_scalar_load_with_blend_with_zero: ; AVX: # BB#0: ; AVX-NEXT: vmovsd {{.*#+}} xmm0 = mem[0],zero -; AVX-NEXT: vxorpd %xmm1, %xmm1, %xmm1 -; AVX-NEXT: vblendpd {{.*#+}} xmm0 = xmm0[0],xmm1[1] ; AVX-NEXT: vmovapd %xmm0, (%rsi) ; AVX-NEXT: retq %1 = load double, double* %a0, align 8 |

