mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 19:02:35 +00:00
Fix a bug in determining if there is only a single interfering register.
llvm-svn: 126277
This commit is contained in:
parent
58efee5c3e
commit
18a19b665c
@ -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