Something that kills a super-register also

kills the sub-register.

llvm-svn: 48038
This commit is contained in:
Bill Wendling 2008-03-07 23:45:15 +00:00
parent 41a16a1347
commit f86174fa61

View File

@ -170,8 +170,7 @@ void RegScavenger::forward() {
// instruction.
for (const unsigned *SubRegs = TRI->getSubRegisters(Reg);
unsigned SubReg = *SubRegs; ++SubRegs)
if (!RedefinesSuperRegPart(MI, Reg, TRI))
ChangedRegs.set(SubReg);
ChangedRegs.set(SubReg);
}
}