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 | ea7b527aa56ad0fe547d3d99b21e845a49a031cb (patch) | |
tree | 60b26110e9c87c686c18306afea3de6c3f5fead4 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 47d1a214a7013d12140a0c4972d7ba761150dfd4 (diff) |
Add UADDO and SADDO nodes. These will be used for determining an overflow
condition in an addition operation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59760 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 61a04bfdb7..d22a65d2ff 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/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"; |