diff options
| author | Dan Gohman <gohman@apple.com> | 2010-01-05 00:44:20 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-01-05 00:44:20 +0000 |
| commit | 43324d0b29b55bc13c835079f710a986cb85c633 (patch) | |
| tree | 18b4479a6e652b94f82d8057a2af847ee7210840 /llvm | |
| parent | 1c93bbc7d4651b251d76cfdf35a781d7a76b9eb0 (diff) | |
| download | bcm5719-llvm-43324d0b29b55bc13c835079f710a986cb85c633.tar.gz bcm5719-llvm-43324d0b29b55bc13c835079f710a986cb85c633.zip | |
Remove the SDNPAssociative properties for the flags-producing
operators. Eli pointed out that it's not obvious what that
would mean.
llvm-svn: 92555
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/X86/X86InstrInfo.td | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td index ce95f068e7e..0888160a41b 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.td +++ b/llvm/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>; |

