Fixed a bug in LiveInterval scaling (failure to scale VNI defs correctly), removed old TODO comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74054 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames 2009-06-24 02:17:32 +00:00
parent ef5d070bbe
commit 98d5982e00
2 changed files with 2 additions and 6 deletions

View File

@ -373,7 +373,8 @@ void LiveInterval::scaleNumbering(unsigned factor) {
for (vni_iterator VNI = vni_begin(), VNIE = vni_end(); VNI != VNIE; ++VNI) {
VNInfo *vni = *VNI;
vni->def = InstrSlots::scale(vni->def, factor);
if (vni->isDefAccurate())
vni->def = InstrSlots::scale(vni->def, factor);
for (unsigned i = 0; i < vni->kills.size(); ++i) {
if (vni->kills[i] != 0)

View File

@ -32,11 +32,6 @@
#include "VirtRegMap.h"
#include <map>
// TODO:
// - Finish renaming Spiller -> Rewriter
// - SimpleSpiller
// - LocalSpiller
namespace llvm {
/// VirtRegRewriter interface: Implementations of this interface assign