mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +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) {
|
||||
AddLegalizedOperand(Op, Tmp);
|
||||
NeedsAnotherIteration = true;
|
||||
return Result;
|
||||
return Tmp;
|
||||
} else {
|
||||
// The target thinks this is legal afterall.
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user