summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorgkoehler <gkoehler@openbsd.org>2020-08-31 01:46:38 +0000
committergkoehler <gkoehler@openbsd.org>2020-08-31 01:46:38 +0000
commitc7e8e8868120a3670d76b67c9a828c6c5b277bdd (patch)
tree5bf0f4a1997f870a588cc626cfc6e5e72ea08b26 /gnu
parentAdd RCS IDs to the few files that are missing them; (diff)
downloadwireguard-openbsd-c7e8e8868120a3670d76b67c9a828c6c5b277bdd.tar.xz
wireguard-openbsd-c7e8e8868120a3670d76b67c9a828c6c5b277bdd.zip
Delete my leftover comment.
This comment was from my commit of 2020-05-02, > Don't make an illegal adde. Avoids fatal error on PowerPC. When we merged LLVM 10, we got upstream's fix for the illegal adde problem, and this comment became the only difference in this file between us and upstream. Found by Brad Smith.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/llvm/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index b84657893b9..2476fd26f25 100644
--- a/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -10983,7 +10983,6 @@ SDValue DAGCombiner::visitTRUNCATE(SDNode *N) {
// (trunc adde(X, Y, Carry)) -> (adde trunc(X), trunc(Y), Carry)
// (trunc addcarry(X, Y, Carry)) -> (addcarry trunc(X), trunc(Y), Carry)
// When the adde's carry is not used.
- // Don't make an illegal adde: LegalizeDAG can't expand nor promote it.
if ((N0.getOpcode() == ISD::ADDE || N0.getOpcode() == ISD::ADDCARRY) &&
N0.hasOneUse() && !N0.getNode()->hasAnyUseOfValue(1) &&
// We only do for addcarry before legalize operation