diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-06-05 15:21:30 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-06-05 15:21:30 +0000 |
commit | 64c6de45258e1f8b0162736206158bda5e9e0a6e (patch) | |
tree | b03f9f363f0f3652dc043ae21b54cad33bad9c53 /llvm/test/CodeGen/X86/vector-shuffle-combining-xop.ll | |
parent | 312071943c62cb223b978f8a6bbb602d8b7c7d92 (diff) | |
download | bcm5719-llvm-64c6de45258e1f8b0162736206158bda5e9e0a6e.tar.gz bcm5719-llvm-64c6de45258e1f8b0162736206158bda5e9e0a6e.zip |
[X86][XOP] Added VPERMIL2PD/VPERMIL2PS raw mask decoding for target shuffle combines
llvm-svn: 271834
Diffstat (limited to 'llvm/test/CodeGen/X86/vector-shuffle-combining-xop.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/vector-shuffle-combining-xop.ll | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/X86/vector-shuffle-combining-xop.ll b/llvm/test/CodeGen/X86/vector-shuffle-combining-xop.ll index 0eb59d67784..8ad8e136587 100644 --- a/llvm/test/CodeGen/X86/vector-shuffle-combining-xop.ll +++ b/llvm/test/CodeGen/X86/vector-shuffle-combining-xop.ll @@ -13,10 +13,7 @@ declare <16 x i8> @llvm.x86.xop.vpperm(<16 x i8>, <16 x i8>, <16 x i8>) nounwind define <2 x double> @combine_vpermil2pd_identity(<2 x double> %a0, <2 x double> %a1) { ; CHECK-LABEL: combine_vpermil2pd_identity: ; CHECK: # BB#0: -; CHECK-NEXT: movl $2, %eax -; CHECK-NEXT: vmovq %rax, %xmm2 -; CHECK-NEXT: vpermil2pd $0, %xmm2, %xmm0, %xmm1, %xmm0 -; CHECK-NEXT: vpermil2pd $0, %xmm2, %xmm0, %xmm0, %xmm0 +; CHECK-NEXT: vmovaps %xmm1, %xmm0 ; CHECK-NEXT: retq %res0 = call <2 x double> @llvm.x86.xop.vpermil2pd(<2 x double> %a1, <2 x double> %a0, <2 x i64> <i64 2, i64 0>, i8 0) %res1 = call <2 x double> @llvm.x86.xop.vpermil2pd(<2 x double> %res0, <2 x double> undef, <2 x i64> <i64 2, i64 0>, i8 0) |