aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-01-05 00:44:20 +0000
committerDan Gohman <gohman@apple.com>2010-01-05 00:44:20 +0000
commit8c9198e7b9609dca8e35a91f309c7d17fc429538 (patch)
tree0d533717ff10d1a131102788aecc8cfe9b54f6fe
parent7b4132de8a2ac0078c1780566d0b631a34dcba63 (diff)
downloadexternal_llvm-8c9198e7b9609dca8e35a91f309c7d17fc429538.zip
external_llvm-8c9198e7b9609dca8e35a91f309c7d17fc429538.tar.gz
external_llvm-8c9198e7b9609dca8e35a91f309c7d17fc429538.tar.bz2
Remove the SDNPAssociative properties for the flags-producing
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
-rw-r--r--lib/Target/X86/X86InstrInfo.td12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td
index ce95f06..0888160 100644
--- a/lib/Target/X86/X86InstrInfo.td
+++ b/lib/Target/X86/X86InstrInfo.td
@@ -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>;