From: Duncan Sands Date: Fri, 2 Nov 2007 15:18:06 +0000 (+0000) Subject: Fix a thinko. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e414cdacb4ee442624128e41cb985c4e9f312b52;p=oota-llvm.git Fix a thinko. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43639 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp index 2c8044c1807..11431ee0861 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp @@ -783,12 +783,11 @@ void DAGTypeLegalizer::ExpandResult(SDNode *N, unsigned ResNo) { // If the target wants to, allow it to lower this itself. std::pair P = TLI.ExpandOperationResult(N, DAG); if (P.first.Val) { - Lo = P.first; - Hi = P.second; + SetExpandedOp(SDOperand(N, ResNo), P.first, P.second); return; } } - + switch (N->getOpcode()) { default: #ifndef NDEBUG