Remove the SDNPAssociative properties for the flags-producing
authorDan Gohman <gohman@apple.com>
Tue, 5 Jan 2010 00:44:20 +0000 (00:44 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 5 Jan 2010 00:44:20 +0000 (00:44 +0000)
operators. Eli pointed out that it's not obvious what that
would mean.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92555 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.td

index ce95f068e7e6a9283ef07f7c5db246a7558a6957..0888160a41be82ff111f4b539fc0fa1fd2d00d5e 100644 (file)
@@ -161,20 +161,20 @@ def X86tcret : SDNode<"X86ISD::TC_RETURN", SDT_X86TCRET,
                         [SDNPHasChain,  SDNPOptInFlag]>;
 
 def X86add_flag  : SDNode<"X86ISD::ADD",  SDTBinaryArithWithFlags,
-                          [SDNPCommutative, SDNPAssociative]>;
+                          [SDNPCommutative]>;
 def X86sub_flag  : SDNode<"X86ISD::SUB",  SDTBinaryArithWithFlags>;
 def X86smul_flag : SDNode<"X86ISD::SMUL", SDTBinaryArithWithFlags,
-                          [SDNPCommutative, SDNPAssociative]>;
+                          [SDNPCommutative]>;
 def X86umul_flag : SDNode<"X86ISD::UMUL", SDTUnaryArithWithFlags,
-                          [SDNPCommutative, SDNPAssociative]>;
+                          [SDNPCommutative]>;
 def X86inc_flag  : SDNode<"X86ISD::INC",  SDTUnaryArithWithFlags>;
 def X86dec_flag  : SDNode<"X86ISD::DEC",  SDTUnaryArithWithFlags>;
 def X86or_flag   : SDNode<"X86ISD::OR",   SDTBinaryArithWithFlags,
-                          [SDNPCommutative, SDNPAssociative]>;
+                          [SDNPCommutative]>;
 def X86xor_flag  : SDNode<"X86ISD::XOR",  SDTBinaryArithWithFlags,
-                          [SDNPCommutative, SDNPAssociative]>;
+                          [SDNPCommutative]>;
 def X86and_flag  : SDNode<"X86ISD::AND",  SDTBinaryArithWithFlags,
-                          [SDNPCommutative, SDNPAssociative]>;
+                          [SDNPCommutative]>;
 
 def X86mul_imm : SDNode<"X86ISD::MUL_IMM", SDTIntBinOp>;