1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Fix an infinite loop on x86

llvm-svn: 23129
This commit is contained in:
Chris Lattner 2005-08-29 17:30:00 +00:00
parent 44fa3e3f08
commit b0e46fa671

View File

@ -1838,7 +1838,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
if (Tmp.Val) {
AddLegalizedOperand(Op, Tmp);
NeedsAnotherIteration = true;
return Result;
return Tmp;
} else {
// The target thinks this is legal afterall.
break;