mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-05 18:28:29 +00:00
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:
parent
ef5d070bbe
commit
98d5982e00
@ -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
Block a user