[llvm-commits] [llvm] r92555 - /llvm/trunk/lib/Target/X86/X86InstrInfo.td
Dan Gohman
gohman at apple.com
Mon Jan 4 16:44:20 PST 2010
Author: djg
Date: Mon Jan 4 18:44:20 2010
New Revision: 92555
URL: http://llvm.org/viewvc/llvm-project?rev=92555&view=rev
Log:
Remove the SDNPAssociative properties for the flags-producing
operators. Eli pointed out that it's not obvious what that
would mean.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.td
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=92555&r1=92554&r2=92555&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Mon Jan 4 18:44:20 2010
@@ -161,20 +161,20 @@
[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>;
More information about the llvm-commits
mailing list