mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
Fix a bug in determining if there is only a single interfering register.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126277 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
98c8141b6d
commit
417df01291
@ -240,8 +240,7 @@ LiveInterval *RAGreedy::getSingleInterference(LiveInterval &VirtReg,
|
||||
if (Q.checkInterference()) {
|
||||
if (Interference)
|
||||
return 0;
|
||||
Q.collectInterferingVRegs(1);
|
||||
if (!Q.seenAllInterferences())
|
||||
if (Q.collectInterferingVRegs(2) > 1)
|
||||
return 0;
|
||||
Interference = Q.interferingVRegs().front();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user