diff options
author | Dale Johannesen <dalej@apple.com> | 2009-06-02 03:12:52 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-06-02 03:12:52 +0000 |
commit | 874ae251c317788391f9c3f113957802d390a063 (patch) | |
tree | 4d5ee801f6b36ff51fbd06090212d02c4405b1c6 /include/llvm/CodeGen/SelectionDAGNodes.h | |
parent | 5d16396a33bfaa76da99c97c526a737af9618d05 (diff) |
Revert 72707 and 72709, for the moment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72712 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGNodes.h')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGNodes.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 942c169ed9..ad485103fb 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -242,11 +242,14 @@ namespace ISD { // remainder result. SDIVREM, UDIVREM, + // CARRY_FALSE - This node is used when folding other nodes, + // like ADDC/SUBC, which indicate the carry result is always false. + CARRY_FALSE, + // Carry-setting nodes for multiple precision addition and subtraction. // These nodes take two operands of the same value type, and produce two // results. The first result is the normal add or sub result, the second - // result is the carry flag result (type i1 or whatever it got expanded to - // for the target, value 0 or 1). + // result is the carry flag result. ADDC, SUBC, // Carry-using nodes for multiple precision addition and subtraction. These @@ -255,8 +258,7 @@ namespace ISD { // produce two results; the normal result of the add or sub, and the output // carry flag. These nodes both read and write a carry flag to allow them // to them to be chained together for add and sub of arbitrarily large - // values. The carry flag (input and output) has type i1 or whatever it - // got expanded to for the target, and has value 0 or 1. + // values. ADDE, SUBE, // RESULT, BOOL = [SU]ADDO(LHS, RHS) - Overflow-aware nodes for addition. |