From 281da5e25ff9e367fd7ceea6c9a5b24caac7193d Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Fri, 2 Nov 2007 15:18:06 +0000 Subject: [PATCH] Fix a thinko. llvm-svn: 43639 --- lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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