[llvm] r279384 - [X86][XOP] Tweak vpermil2pd test to stop it being combined away
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 20 14:07:42 PDT 2016
Author: rksimon
Date: Sat Aug 20 16:07:41 2016
New Revision: 279384
URL: http://llvm.org/viewvc/llvm-project?rev=279384&view=rev
Log:
[X86][XOP] Tweak vpermil2pd test to stop it being combined away
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=279384&r1=279383&r2=279384&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/xop-mask-comments.ll (original)
+++ llvm/trunk/test/CodeGen/X86/xop-mask-comments.ll Sat Aug 20 16:07:41 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[1],xmm0[1]
+; X32-NEXT: vpermil2pd {{.*#+}} xmm0 = zero,xmm0[0]
; X32-NEXT: retl
;
; X64-LABEL: vpermil2pd_21:
; X64: # BB#0:
-; X64-NEXT: vpermil2pd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; X64-NEXT: vpermil2pd {{.*#+}} xmm0 = zero,xmm0[0]
; X64-NEXT: retq
- %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)
+ %1 = call <2 x double> @llvm.x86.xop.vpermil2pd(<2 x double> %a0, <2 x double> %a1, <2 x i64> <i64 10, i64 1>, i8 2)
ret <2 x double> %1
}
More information about the llvm-commits
mailing list