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:
parent
44fa3e3f08
commit
b0e46fa671
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user