summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-21 19:40:42 +0000
committerChris Lattner <sabre@nondot.org>2005-12-21 19:40:42 +0000
commit0fab4593622f7b4e5c5c984a386758cfb93eae2b (patch)
treef74a4729cb95646702f81ec393f5227055569149 /llvm/lib/CodeGen
parent44c07ed61ae932ef22b32924d66e33bf067c1656 (diff)
downloadbcm5719-llvm-0fab4593622f7b4e5c5c984a386758cfb93eae2b.tar.gz
bcm5719-llvm-0fab4593622f7b4e5c5c984a386758cfb93eae2b.zip
make sure to relegalize all cases
llvm-svn: 24911
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 69ed69cc643..581b969957e 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -1036,9 +1036,9 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
Result = DAG.getNode(ISD::BRCOND, MVT::Other, Tmp1, Tmp2,
Node->getOperand(4));
Result = DAG.getNode(ISD::BR, MVT::Other, Result, Node->getOperand(5));
- Result = LegalizeOp(Result); // Relegalize new nodes.
break;
}
+ Result = LegalizeOp(Result); // Relegalize new nodes.
}
break;
case ISD::LOAD:
OpenPOWER on IntegriCloud