diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-01-20 18:50:39 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-01-20 18:50:39 +0000 |
| commit | ad1ffcc3585d0caa9b36046f6687d5f68a183516 (patch) | |
| tree | 3b6350df568271dccc2316857c443841cc0fb14f | |
| parent | 28d15860bdccbdc2f5ff4e528ef289935dbe40fa (diff) | |
| download | bcm5719-llvm-ad1ffcc3585d0caa9b36046f6687d5f68a183516.tar.gz bcm5719-llvm-ad1ffcc3585d0caa9b36046f6687d5f68a183516.zip | |
Eliminate the unimplemented ADDC/SUBB operations, add ADD_PARTS/SUB_PARTS instead.
llvm-svn: 19713
| -rw-r--r-- | llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h index 37e0ed02071..07bab5dbf0b 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h @@ -101,10 +101,12 @@ namespace ISD { // state. SETCC, - // addc - Three input, two output operator: (X, Y, C) -> (X+Y+C, - // Cout). X,Y are integer inputs of agreeing size, C is a one bit - // value, and two values are produced: the sum and a carry out. - ADDC, SUBB, + // ADD_PARTS/SUB_PARTS - These operators take two logical operands which are + // broken into a multiple pieces each, and return the resulting pieces of + // doing an atomic add/sub operation. This is used to handle add/sub of + // expanded types. The operation ordering is: + // [Lo,Hi] = op [LoLHS,HiLHS], [LoRHS,HiRHS] + ADD_PARTS, SUB_PARTS, // Conversion operators. These are all single input single output // operations. For all of these, the result type must be strictly |

