summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 97ec5d6b2d7..91f462d2d41 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -1834,12 +1834,6 @@ SDValue DAGCombiner::visitADDLike(SDValue N0, SDValue N1, SDNode *LocReference)
}
}
- // (add X, (adde Y, 0, Carry)) -> (adde X, Y, Carry)
- if (N1.getOpcode() == ISD::ADDE && N1->hasOneUse() &&
- isNullConstant(N1.getOperand(1)))
- return DAG.getNode(ISD::ADDE, DL, DAG.getVTList(VT, MVT::Glue),
- N0, N1->getOperand(0), N1->getOperand(2));
-
return SDValue();
}
OpenPOWER on IntegriCloud