mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-08 12:21:04 +00:00
Something that kills a super-register also
kills the sub-register. llvm-svn: 48038
This commit is contained in:
parent
41a16a1347
commit
f86174fa61
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user