mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Remove unnecessary parameter to RenumberValues.
Patch by Matthias Braun! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188393 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
906968c533
commit
1c6d387dc9
@ -240,7 +240,7 @@ namespace llvm {
|
||||
|
||||
/// RenumberValues - Renumber all values in order of appearance and remove
|
||||
/// unused values.
|
||||
void RenumberValues(LiveIntervals &lis);
|
||||
void RenumberValues();
|
||||
|
||||
/// MergeValueNumberInto - This method is called when two value nubmers
|
||||
/// are found to be equivalent. This eliminates V1, replacing all
|
||||
|
@ -202,7 +202,7 @@ void LiveInterval::markValNoForDeletion(VNInfo *ValNo) {
|
||||
|
||||
/// RenumberValues - Renumber all values in order of appearance and delete the
|
||||
/// remaining unused values.
|
||||
void LiveInterval::RenumberValues(LiveIntervals &lis) {
|
||||
void LiveInterval::RenumberValues() {
|
||||
SmallPtrSet<VNInfo*, 8> Seen;
|
||||
valnos.clear();
|
||||
for (const_iterator I = begin(), E = end(); I != E; ++I) {
|
||||
|
@ -360,7 +360,7 @@ void LiveRangeEdit::eliminateDeadDefs(SmallVectorImpl<MachineInstr*> &Dead,
|
||||
if (BeingSpilled) continue;
|
||||
|
||||
// LI may have been separated, create new intervals.
|
||||
LI->RenumberValues(LIS);
|
||||
LI->RenumberValues();
|
||||
ConnectedVNInfoEqClasses ConEQ(LIS);
|
||||
unsigned NumComp = ConEQ.Classify(LI);
|
||||
if (NumComp <= 1)
|
||||
|
@ -1092,7 +1092,7 @@ void SplitEditor::finish(SmallVectorImpl<unsigned> *LRMap) {
|
||||
|
||||
// Get rid of unused values and set phi-kill flags.
|
||||
for (LiveRangeEdit::iterator I = Edit->begin(), E = Edit->end(); I != E; ++I)
|
||||
(*I)->RenumberValues(LIS);
|
||||
(*I)->RenumberValues();
|
||||
|
||||
// Provide a reverse mapping from original indices to Edit ranges.
|
||||
if (LRMap) {
|
||||
|
Loading…
Reference in New Issue
Block a user