BitVectorize loop.

llvm-svn: 151274
This commit is contained in:
Benjamin Kramer 2012-02-23 19:29:25 +00:00
parent 796fd46993
commit ef8bf39575
1 changed files with 1 additions and 3 deletions

View File

@ -460,9 +460,7 @@ void SchedulePostRATDList::FixupKills(MachineBasicBlock *MBB) {
for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
MachineOperand &MO = MI->getOperand(i);
if (MO.isRegMask())
for (unsigned i = 0, e = TRI->getNumRegs(); i != e; ++i)
if (MO.clobbersPhysReg(i))
LiveRegs.reset(i);
LiveRegs.clearBitsNotInMask(MO.getRegMask());
if (!MO.isReg()) continue;
unsigned Reg = MO.getReg();
if (Reg == 0) continue;