[LoopUnrollPass] Add const to parameters in computeUnrollCount (NFC) (#184058)

This commit is contained in:
Justin Fargnoli 2026-03-03 15:39:32 -08:00 committed by GitHub
parent 0c04d019f0
commit 76568dc899
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -936,8 +936,9 @@ bool llvm::computeUnrollCount(
Loop *L, const TargetTransformInfo &TTI, DominatorTree &DT, LoopInfo *LI,
AssumptionCache *AC, ScalarEvolution &SE,
const SmallPtrSetImpl<const Value *> &EphValues,
OptimizationRemarkEmitter *ORE, unsigned TripCount, unsigned MaxTripCount,
bool MaxOrZero, unsigned TripMultiple, const UnrollCostEstimator &UCE,
OptimizationRemarkEmitter *ORE, const unsigned TripCount,
const unsigned MaxTripCount, const bool MaxOrZero,
const unsigned TripMultiple, const UnrollCostEstimator &UCE,
TargetTransformInfo::UnrollingPreferences &UP,
TargetTransformInfo::PeelingPreferences &PP, bool &UseUpperBound) {