Justin Fargnoli 21a1b4c1d7
[LoopUnroll] Remove UseUpperBound output parameter from computeUnrollCount (NFC) (#184526)
`UseUpperBound` is only ever read by `UnrollAndJamPass.cpp`'s
`computeUnrollAndJamCount()`. However, `computeUnrollAndJamCount()` also
sets `MaxTripCount` to `0` which
[disables](928505c983/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp (L1017))
the only case that could set `UseUpperBound`.

Since there are no callers that need the result of `UseUpperBound`,
remove it.
2026-03-05 16:42:25 +00:00
..