mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-19 09:57:42 +00:00
Clear PhysRegPartUse for the sub register as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47453 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
20b76ab3c7
commit
1d5e8196c0
@ -246,7 +246,7 @@ void LiveVariables::HandlePhysRegUse(unsigned Reg, MachineInstr *MI) {
|
||||
// Now reset the use information for the sub-registers.
|
||||
for (const unsigned *SubRegs = RegInfo->getSubRegisters(Reg);
|
||||
unsigned SubReg = *SubRegs; ++SubRegs) {
|
||||
// FIXME: Should we do: "PhysRegPartUse[SubReg] = NULL;" here?
|
||||
PhysRegPartUse[SubReg] = NULL;
|
||||
PhysRegInfo[SubReg] = MI;
|
||||
PhysRegUsed[SubReg] = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user