[SCEV][NFC] Get rid of redundant constructor, replace with default parameter

This commit is contained in:
Max Kazantsev 2022-11-25 12:07:16 +07:00
parent b9c1d73725
commit 04b9a70fec
2 changed files with 2 additions and 8 deletions

View File

@ -1335,13 +1335,12 @@ private:
ExitLimit(
const SCEV *E, const SCEV *M, bool MaxOrZero,
ArrayRef<const SmallPtrSetImpl<const SCEVPredicate *> *> PredSetList);
ArrayRef<const SmallPtrSetImpl<const SCEVPredicate *> *> PredSetList =
None);
ExitLimit(const SCEV *E, const SCEV *M, bool MaxOrZero,
const SmallPtrSetImpl<const SCEVPredicate *> &PredSet);
ExitLimit(const SCEV *E, const SCEV *M, bool MaxOrZero);
/// Test whether this ExitLimit contains any computed information, or
/// whether it's all SCEVCouldNotCompute values.
bool hasAnyInfo() const {

View File

@ -8630,11 +8630,6 @@ ScalarEvolution::ExitLimit::ExitLimit(
: ExitLimit(E, M, MaxOrZero, {&PredSet}) {
}
ScalarEvolution::ExitLimit::ExitLimit(const SCEV *E, const SCEV *M,
bool MaxOrZero)
: ExitLimit(E, M, MaxOrZero, None) {
}
/// Allocate memory for BackedgeTakenInfo and copy the not-taken count of each
/// computable exit into a persistent ExitNotTakenInfo array.
ScalarEvolution::BackedgeTakenInfo::BackedgeTakenInfo(