[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td
Evan Cheng
evan.cheng at apple.com
Wed Jan 18 22:53:32 PST 2006
Changes in directory llvm/lib/Target/X86:
X86InstrInfo.td updated: 1.212 -> 1.213
---
Log message:
adc and sbb need an incoming flag to ensure it reads the carry flag
from add / sub.
---
Diffs of the changes: (+3 -2)
X86InstrInfo.td | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/X86/X86InstrInfo.td
diff -u llvm/lib/Target/X86/X86InstrInfo.td:1.212 llvm/lib/Target/X86/X86InstrInfo.td:1.213
--- llvm/lib/Target/X86/X86InstrInfo.td:1.212 Wed Jan 18 19:56:29 2006
+++ llvm/lib/Target/X86/X86InstrInfo.td Thu Jan 19 00:53:20 2006
@@ -63,8 +63,9 @@
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>;
More information about the llvm-commits
mailing list