From b204f03004456a823664a0f595f2474bf6c8931f Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Wed, 10 Aug 2016 15:15:56 +0000 Subject: [PATCH] [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. llvm-svn: 278233 --- llvm/test/CodeGen/X86/xop-mask-comments.ll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/test/CodeGen/X86/xop-mask-comments.ll b/llvm/test/CodeGen/X86/xop-mask-comments.ll index e4cc910..f139311 100644 --- a/llvm/test/CodeGen/X86/xop-mask-comments.ll +++ b/llvm/test/CodeGen/X86/xop-mask-comments.ll @@ -98,14 +98,14 @@ define <16 x i8> @vpperm_shuffle_general(<16 x i8> %a0, <16 x i8> %a1) { 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> , i8 0) + %1 = call <2 x double> @llvm.x86.xop.vpermil2pd(<2 x double> %a0, <2 x double> %a1, <2 x i64> , i8 0) ret <2 x double> %1 } -- 2.7.4