[llvm-commits] CVS: llvm/lib/CodeGen/LiveVariables.cpp
Evan Cheng
evan.cheng at apple.com
Mon May 14 13:39:40 PDT 2007
Changes in directory llvm/lib/CodeGen:
LiveVariables.cpp updated: 1.83 -> 1.84
---
Log message:
When marking a register as being implicitly defined, make sure to clear its partial use info as well.
---
Diffs of the changes: (+2 -0)
LiveVariables.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/CodeGen/LiveVariables.cpp
diff -u llvm/lib/CodeGen/LiveVariables.cpp:1.83 llvm/lib/CodeGen/LiveVariables.cpp:1.84
--- llvm/lib/CodeGen/LiveVariables.cpp:1.83 Tue May 8 14:00:00 2007
+++ llvm/lib/CodeGen/LiveVariables.cpp Mon May 14 15:39:18 2007
@@ -314,6 +314,7 @@
}
PhysRegInfo[SubReg] = MI;
PhysRegUsed[SubReg] = false;
+ PhysRegPartUse[SubReg] = NULL;
}
if (MI)
@@ -328,6 +329,7 @@
MI->addRegOperand(SuperReg, true/*IsDef*/,true/*IsImp*/);
PhysRegInfo[SuperReg] = MI;
PhysRegUsed[SuperReg] = false;
+ PhysRegPartUse[SuperReg] = NULL;
} else {
// Remember this partial def.
PhysRegPartDef[SuperReg].push_back(MI);
More information about the llvm-commits
mailing list