forked from OSchip/llvm-project
parent
b54343a64f
commit
dc451c6d27
|
@ -92,11 +92,11 @@ namespace {
|
|||
void invalidatePhysRegs(const MachineInstr *MI) {
|
||||
unsigned Opcode = MI->getOpcode();
|
||||
const MachineInstrDescriptor &Desc = TM.getInstrInfo().get(Opcode);
|
||||
const unsigned *regs = Desc.ImplicitUses;
|
||||
if (const unsigned *regs = Desc.ImplicitUses)
|
||||
while (*regs)
|
||||
RegsUsed.insert(*regs++);
|
||||
|
||||
regs = Desc.ImplicitDefs;
|
||||
if (const unsigned *regs = Desc.ImplicitDefs)
|
||||
while (*regs)
|
||||
RegsUsed.insert(*regs++);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue