[llvm] [LoopUnroll] Prevent LoopFullUnrollPass from performing partial unrolling when trip counts are unknown (PR #165013)

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 30 09:44:02 PDT 2025


https://github.com/Meinersbur approved this pull request.

LGTM

That check should ideally be done together where partial/runtime unrolling is attempted (instead of mixing it with the profitabilit heuristic), but it is correct if the trip count is not known, full unrolling cannot take place.


https://github.com/llvm/llvm-project/pull/165013


More information about the llvm-commits mailing list