mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Add LiveInterval::RenumberValues - Garbage collection for VNInfos.
After heavy editing of a live interval, it is much easier to simply renumber the live values instead of trying to keep track of the unused ones. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110463 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -553,8 +553,10 @@ void SplitEditor::rewrite() {
|
||||
}
|
||||
|
||||
// dupli_ goes in last, after rewriting.
|
||||
if (dupli_)
|
||||
if (dupli_) {
|
||||
dupli_->RenumberValues();
|
||||
intervals_.push_back(dupli_);
|
||||
}
|
||||
|
||||
// FIXME: *Calculate spill weights, allocation hints, and register classes for
|
||||
// firstInterval..
|
||||
|
Reference in New Issue
Block a user