mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 00:36:36 +00:00
Minor bug fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35153 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d435dbcbf9
commit
79b098445b
@ -937,7 +937,7 @@ bool LiveIntervals::JoinCopy(MachineInstr *CopyMI,
|
||||
// virtual register. Once the coalescing is done, it cannot be broken and
|
||||
// these are not spillable! If the destination interval uses are far away,
|
||||
// think twice about coalescing them!
|
||||
if (ReduceJoinPhys && !isDead &&
|
||||
if (ReduceJoinPhys && !mopd->isDead() &&
|
||||
MRegisterInfo::isPhysicalRegister(repSrcReg)) {
|
||||
// Small function. No need to worry!
|
||||
unsigned Threshold = allocatableRegs_.count() * 2;
|
||||
|
Loading…
Reference in New Issue
Block a user