aboutsummaryrefslogtreecommitdiff
path: root/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
commitf9dee6a0473db4f3713bf40c7408fa30578ac141 (patch)
tree16ed53fb9f6dd3077996f721e3d797a56730b211 /lib/CodeGen
parent9797c5cc3ebc2c78ff30866ce0650d87ea02946c (diff)
make sure to relegalize all cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24911 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 69ed69cc64..581b969957 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/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: