mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 00:14:21 +08:00
Handle regmasks in FixupKills.
llvm-svn: 151226
This commit is contained in:
@@ -461,6 +461,10 @@ void SchedulePostRATDList::FixupKills(MachineBasicBlock *MBB) {
|
||||
// are completely defined.
|
||||
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))
|
||||
KillIndices[i] = ~0u;
|
||||
if (!MO.isReg()) continue;
|
||||
unsigned Reg = MO.getReg();
|
||||
if (Reg == 0) continue;
|
||||
|
||||
Reference in New Issue
Block a user