[llvm-commits] [llvm] r42969 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Chris Lattner
sabre at nondot.org
Sun Oct 14 11:35:05 PDT 2007
Author: lattner
Date: Sun Oct 14 13:35:05 2007
New Revision: 42969
URL: http://llvm.org/viewvc/llvm-project?rev=42969&view=rev
Log:
If a target doesn't have HasMULHU or HasUMUL_LOHI, ExpandOp would return
without lo/hi set. Fall through to making a libcall instead.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp?rev=42969&r1=42968&r2=42969&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Sun Oct 14 13:35:05 2007
@@ -5870,7 +5870,6 @@
Hi = DAG.getNode(ISD::MULHU, NVT, LL, RL);
break;
}
- break;
}
if (LHSSB > BitSize && RHSSB > BitSize) {
// The input values are both sign-extended.
More information about the llvm-commits
mailing list