adc and sbb need an incoming flag to ensure it reads the carry flag

from add / sub.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25444 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-01-19 06:53:20 +00:00
parent 8312ab54cf
commit 41b6dc8dbe

View File

@ -63,8 +63,9 @@ def X86addflag : SDNode<"X86ISD::ADD_FLAG", SDTIntBinOp ,
def X86subflag : SDNode<"X86ISD::SUB_FLAG", SDTIntBinOp,
[SDNPOutFlag]>;
def X86adc : SDNode<"X86ISD::ADC" , SDTIntBinOp ,
[SDNPCommutative, SDNPAssociative]>;
def X86sbb : SDNode<"X86ISD::SBB" , SDTIntBinOp>;
[SDNPCommutative, SDNPAssociative, SDNPInFlag]>;
def X86sbb : SDNode<"X86ISD::SBB" , SDTIntBinOp,
[SDNPInFlag]>;
def X86shld : SDNode<"X86ISD::SHLD", SDTIntShiftDOp>;
def X86shrd : SDNode<"X86ISD::SHRD", SDTIntShiftDOp>;