mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Minor cleanup, no functionality change for current targets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25173 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
15d014b38e
commit
60d97d4f55
@ -585,7 +585,8 @@ void LiveIntervals::handleRegisterDef(MachineBasicBlock *MBB,
|
||||
handleVirtualRegisterDef(MBB, MI, getOrCreateInterval(reg));
|
||||
else if (allocatableRegs_[reg]) {
|
||||
unsigned SrcReg = 0, DestReg = 0;
|
||||
bool IsMove = tii_->isMoveInstr(*MI, SrcReg, DestReg);
|
||||
if (!tii_->isMoveInstr(*MI, SrcReg, DestReg))
|
||||
SrcReg = DestReg = 0;
|
||||
|
||||
handlePhysicalRegisterDef(MBB, MI, getOrCreateInterval(reg),
|
||||
SrcReg, DestReg);
|
||||
|
Loading…
Reference in New Issue
Block a user