Minor cleanup, no functionality change for current targets

llvm-svn: 25173
This commit is contained in:
Chris Lattner 2006-01-10 05:41:59 +00:00
parent e2986589aa
commit d455e0ce54

View File

@ -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);