aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-11-02 15:18:06 +0000
committerDuncan Sands <baldrick@free.fr>2007-11-02 15:18:06 +0000
commite414cdacb4ee442624128e41cb985c4e9f312b52 (patch)
treeb1f69e8703d8900969be3bd5468a83149defd0cf /lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp
parente3d936ac9ce56acfeb058f573e6c6ce0682ed781 (diff)
Fix a thinko.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43639 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp
index 2c8044c180..11431ee086 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<SDOperand,SDOperand> 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