Mark VANDNPD/VANDNPDS as not commutable.
authorCraig Topper <craig.topper@gmail.com>
Wed, 26 Dec 2012 03:48:10 +0000 (03:48 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 26 Dec 2012 03:48:10 +0000 (03:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171085 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrSSE.td

index 69e2b4390f7b7e7d6ffa565e26e16ea11b40f2d9..330f05d34f83bc154624096197905aa6019c123c 100644 (file)
@@ -2812,7 +2812,8 @@ multiclass sse12_fp_packed_logical_y<bits<8> 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>;