HomePhabricator

[LoopUnroll] Don't modify TripCount/TripMultiple in computeUnrollCount() (NFCI)

Authored by nikic on Jun 19 2021, 1:09 AM.

Description

[LoopUnroll] Don't modify TripCount/TripMultiple in computeUnrollCount() (NFCI)

As these are no longer passed to UnrollLoop(), there is no need to
modify them in computeUnrollCount(). Make them non-reference parameters.

Differential Revision: https://reviews.llvm.org/D104590

Details