OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
488e2ad
)
[SelectionDAG] Remove ISD::ADDC/ADDE from some undef handling code in getNode. NFCI
author
Craig Topper
<craig.topper@intel.com>
Sat, 8 Dec 2018 00:27:34 +0000
(
00:27
+0000)
committer
Craig Topper
<craig.topper@intel.com>
Sat, 8 Dec 2018 00:27:34 +0000
(
00:27
+0000)
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@348670
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index
7e9c5de
..
9b43f13
100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/
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: