aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-10-14 18:35:05 +0000
committerChris Lattner <sabre@nondot.org>2007-10-14 18:35:05 +0000
commitfb5b11046bfc27e4c8388f4b3d7f1adc927f7fe6 (patch)
treebf16538e992c7240404b8f373f4afc116e6218fa
parente5e0194583c9d95cae685da139531624e050d39e (diff)
If a target doesn't have HasMULHU or HasUMUL_LOHI, ExpandOp would return
without lo/hi set. Fall through to making a libcall instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42969 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeDAG.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index b54af7d2a1..2396d792dd 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -5870,7 +5870,6 @@ void SelectionDAGLegalize::ExpandOp(SDOperand Op, SDOperand &Lo, SDOperand &Hi){
Hi = DAG.getNode(ISD::MULHU, NVT, LL, RL);
break;
}
- break;
}
if (LHSSB > BitSize && RHSSB > BitSize) {
// The input values are both sign-extended.