mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
fix an infinite loop compiling ldecod, notice by JeffC.
llvm-svn: 35910
This commit is contained in:
parent
e9a9a3f172
commit
f29ad16397
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user