mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-12 18:33:22 +00:00
Fix an infinite loop on x86
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23129 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d00b28809d
commit
507f752f6e
@ -1838,7 +1838,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
|
|||||||
if (Tmp.Val) {
|
if (Tmp.Val) {
|
||||||
AddLegalizedOperand(Op, Tmp);
|
AddLegalizedOperand(Op, Tmp);
|
||||||
NeedsAnotherIteration = true;
|
NeedsAnotherIteration = true;
|
||||||
return Result;
|
return Tmp;
|
||||||
} else {
|
} else {
|
||||||
// The target thinks this is legal afterall.
|
// The target thinks this is legal afterall.
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user