diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-11-21 00:11:16 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-11-21 00:11:16 +0000 |
commit | 39acb29ff8c7ea5f4852c471b3b1d0387f138898 (patch) | |
tree | 556309d3166201f2f8e53d7027b36a7d0db4d8e1 /llvm/lib/CodeGen | |
parent | c602dd407caebe27271e82e2b0420813decb5058 (diff) | |
download | bcm5719-llvm-39acb29ff8c7ea5f4852c471b3b1d0387f138898.tar.gz bcm5719-llvm-39acb29ff8c7ea5f4852c471b3b1d0387f138898.zip |
Add UADDO and SADDO nodes. These will be used for determining an overflow
condition in an addition operation.
llvm-svn: 59760
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 61a04bfdb75..d22a65d2ff8 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -5151,6 +5151,8 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const { case ISD::CARRY_FALSE: return "carry_false"; case ISD::ADDC: return "addc"; case ISD::ADDE: return "adde"; + case ISD::SADDO: return "saddo"; + case ISD::UADDO: return "uaddo"; case ISD::SUBC: return "subc"; case ISD::SUBE: return "sube"; case ISD::SHL_PARTS: return "shl_parts"; |