diff options
author | Craig Topper <craig.topper@intel.com> | 2018-12-08 00:27:34 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-12-08 00:27:34 +0000 |
commit | b4c96f5a3228de40d411e253f6d81ad679621367 (patch) | |
tree | 9f716d3db70520941e21f23de35a2bccb259e21a /llvm/lib/CodeGen | |
parent | cc3be702b0342d127fc4ac908ad41148eae2b039 (diff) | |
download | bcm5719-llvm-b4c96f5a3228de40d411e253f6d81ad679621367.tar.gz bcm5719-llvm-b4c96f5a3228de40d411e253f6d81ad679621367.zip |
[SelectionDAG] Remove ISD::ADDC/ADDE from some undef handling code in getNode. NFCI
These nodes should have two results. A real VT and a Glue. But this code would have returned Undef which would only be a single result. But we're in the single result version of getNode so these opcodes should never be seen by this function anyway.
llvm-svn: 348670
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 7e9c5debb25..9b43f13dbfe 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -4994,8 +4994,6 @@ SDValue SelectionDAG::getNode(unsigned Opcode, const SDLoc &DL, EVT VT, return getConstant(0, DL, VT); LLVM_FALLTHROUGH; case ISD::ADD: - case ISD::ADDC: - case ISD::ADDE: case ISD::SUB: case ISD::UDIV: case ISD::SDIV: |