diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-04-11 16:51:53 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-04-11 16:51:53 +0000 |
| commit | 18e4ac4107c2c5de7607ffbe27108474551fec15 (patch) | |
| tree | 20600a254f5eb6ecca7b41bbb4c69b68d48b1614 /llvm/lib/CodeGen | |
| parent | fe926e2960329a0804dd32c8e15b168b991bcbd1 (diff) | |
| download | bcm5719-llvm-18e4ac4107c2c5de7607ffbe27108474551fec15.tar.gz bcm5719-llvm-18e4ac4107c2c5de7607ffbe27108474551fec15.zip | |
fix an infinite loop compiling ldecod, notice by JeffC.
llvm-svn: 35910
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index e373ef43651..9ed09f24c16 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -2320,7 +2320,7 @@ SDOperand DAGCombiner::visitANY_EXTEND(SDNode *N) { SDOperand SCC = SimplifySelectCC(N0.getOperand(0), N0.getOperand(1), DAG.getConstant(1, VT), DAG.getConstant(0, VT), - cast<CondCodeSDNode>(N0.getOperand(2))->get()); + cast<CondCodeSDNode>(N0.getOperand(2))->get(), true); if (SCC.Val) return SCC; } |

