[llvm] [LoopUnroll] Allow expensive trip count emitting which is estimated to be infinite (PR #79869)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 08:38:43 PST 2024


mtrofin wrote:

> Makes sense conceptually. I wonder whether it would make sense to integrate this in getLoopEstimatedTripCount(), by returning UINT_MAX in this case?

+1. In that case, my comments are probably moot (const-ing the parameter would still make sense, but at this point that feels like "unrelated to this change")

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


More information about the llvm-commits mailing list