Split out of https://reviews.llvm.org/D71990. Minor stuff like renaming and introduction of divideNearest utility.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 43081 Build 43746: arc lint + arc unit
Event Timeline
llvm/lib/Transforms/Utils/LoopUtils.cpp | ||
---|---|---|
718 | Can we agree on BackedgeTakenWeight and LatchExitWeight? They directly correspond to "the number of times the backedge was taken" and "the number of times we exited the loop" documented above, and the comment removed below. | |
726 | (Above early exit can precede the swap, but agree it's better to first set the variables to their correct meaning.) | |
727 | Original "// Divide the count ..." comment removed deliberately? |
Comment Actions
ebrevnov committed rGf0abe820eebf: [LoopUtils][NFC] Minor refactoring in getLoopEstimatedTripCount. (authored by ebrevnov).
Can we agree on BackedgeTakenWeight and LatchExitWeight? They directly correspond to "the number of times the backedge was taken" and "the number of times we exited the loop" documented above, and the comment removed below.