projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20b76ab
)
Clear PhysRegPartUse for the sub register as well.
author
Bill Wendling
<isanbard@gmail.com>
Thu, 21 Feb 2008 19:35:27 +0000
(19:35 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 21 Feb 2008 19:35:27 +0000
(19:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47453
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveVariables.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveVariables.cpp
b/lib/CodeGen/LiveVariables.cpp
index 4b428d6f31ce40140ce656d568c61130930d133d..48bf809e4820bea4d5a1235d8cf94e0252223a66 100644
(file)
--- a/
lib/CodeGen/LiveVariables.cpp
+++ b/
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;
}