From 15526b2e522cc0a6072a58d80284262649829e7e Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 21 Feb 2008 19:35:27 +0000 Subject: [PATCH] Clear PhysRegPartUse for the sub register as well. llvm-svn: 47453 --- llvm/lib/CodeGen/LiveVariables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/LiveVariables.cpp b/llvm/lib/CodeGen/LiveVariables.cpp index 4b428d6f31ce..48bf809e4820 100644 --- a/llvm/lib/CodeGen/LiveVariables.cpp +++ b/llvm/lib/CodeGen/LiveVariables.cpp @@ -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; }