forked from OSchip/llvm-project
Do not duplicate method name in comment, remove duplicate comment
llvm-svn: 242430
This commit is contained in:
parent
fb8e2d22fb
commit
7f5ae19e80
|
@ -147,13 +147,12 @@ extern cl::opt<bool> UseSegmentSetForPhysRegs;
|
|||
LiveInterval::Segment addSegmentToEndOfBlock(unsigned reg,
|
||||
MachineInstr* startInst);
|
||||
|
||||
/// shrinkToUses - After removing some uses of a register, shrink its live
|
||||
/// range to just the remaining uses. This method does not compute reaching
|
||||
/// defs for new uses, and it doesn't remove dead defs.
|
||||
/// Dead PHIDef values are marked as unused.
|
||||
/// New dead machine instructions are added to the dead vector.
|
||||
/// Return true if the interval may have been separated into multiple
|
||||
/// connected components.
|
||||
/// After removing some uses of a register, shrink its live range to just
|
||||
/// the remaining uses. This method does not compute reaching defs for new
|
||||
/// uses, and it doesn't remove dead defs.
|
||||
/// Dead PHIDef values are marked as unused. New dead machine instructions
|
||||
/// are added to the dead vector. Returns true if the interval may have been
|
||||
/// separated into multiple connected components.
|
||||
bool shrinkToUses(LiveInterval *li,
|
||||
SmallVectorImpl<MachineInstr*> *dead = nullptr);
|
||||
|
||||
|
|
|
@ -396,9 +396,6 @@ static void extendSegmentsToUses(LiveRange &LR, const SlotIndexes &Indexes,
|
|||
}
|
||||
}
|
||||
|
||||
/// shrinkToUses - After removing some uses of a register, shrink its live
|
||||
/// range to just the remaining uses. This method does not compute reaching
|
||||
/// defs for new uses, and it doesn't remove dead defs.
|
||||
bool LiveIntervals::shrinkToUses(LiveInterval *li,
|
||||
SmallVectorImpl<MachineInstr*> *dead) {
|
||||
DEBUG(dbgs() << "Shrink: " << *li << '\n');
|
||||
|
|
Loading…
Reference in New Issue