[llvm] r278233 - [X86][XOP] Tweak vpermil2pd test to stop it being combined away
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 10 08:15:57 PDT 2016
Author: rksimon
Date: Wed Aug 10 10:15:56 2016
New Revision: 278233
URL: http://llvm.org/viewvc/llvm-project?rev=278233&view=rev
Log:
[X86][XOP] Tweak vpermil2pd test to stop it being combined away
The target shuffle combined to a BLENDPD pattern which we will shortly add support for.
Modified:
llvm/trunk/test/CodeGen/X86/xop-mask-comments.ll
Modified: llvm/trunk/test/CodeGen/X86/xop-mask-comments.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/xop-mask-comments.ll?rev=278233&r1=278232&r2=278233&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/xop-mask-comments.ll (original)
+++ llvm/trunk/test/CodeGen/X86/xop-mask-comments.ll Wed Aug 10 10:15:56 2016
@@ -98,14 +98,14 @@ define <16 x i8> @vpperm_shuffle_general
define <2 x double> @vpermil2pd_21(<2 x double> %a0, <2 x double> %a1) {
; X32-LABEL: vpermil2pd_21:
; X32: # BB#0:
-; X32-NEXT: vpermil2pd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; X32-NEXT: vpermil2pd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
; X32-NEXT: retl
;
; X64-LABEL: vpermil2pd_21:
; X64: # BB#0:
-; X64-NEXT: vpermil2pd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; X64-NEXT: vpermil2pd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
; X64-NEXT: retq
- %1 = call <2 x double> @llvm.x86.xop.vpermil2pd(<2 x double> %a0, <2 x double> %a1, <2 x i64> <i64 4, i64 2>, i8 0)
+ %1 = call <2 x double> @llvm.x86.xop.vpermil2pd(<2 x double> %a0, <2 x double> %a1, <2 x i64> <i64 6, i64 2>, i8 0)
ret <2 x double> %1
}
More information about the llvm-commits
mailing list