From b5c590a5861b1a38e836092a5137307973480b05 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 26 Dec 2012 03:48:10 +0000 Subject: [PATCH] Mark VANDNPD/VANDNPDS as not commutable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171085 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrSSE.td | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td index 69e2b4390f7..330f05d34f8 100644 --- a/lib/Target/X86/X86InstrSSE.td +++ b/lib/Target/X86/X86InstrSSE.td @@ -2812,7 +2812,8 @@ multiclass sse12_fp_packed_logical_y opc, string OpcodeStr, defm VAND : sse12_fp_packed_logical_y<0x54, "and", and>; defm VOR : sse12_fp_packed_logical_y<0x56, "or", or>; defm VXOR : sse12_fp_packed_logical_y<0x57, "xor", xor>; -defm VANDN : sse12_fp_packed_logical_y<0x55, "andn", X86andnp>; +let isCommutable = 0 in + defm VANDN : sse12_fp_packed_logical_y<0x55, "andn", X86andnp>; defm AND : sse12_fp_packed_logical<0x54, "and", and>; defm OR : sse12_fp_packed_logical<0x56, "or", or>;