forked from OSchip/llvm-project
Fixed a bug in LiveInterval scaling (failure to scale VNI defs correctly), removed old TODO comments.
llvm-svn: 74054
This commit is contained in:
parent
38f2453817
commit
828e301c8e
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue