[llvm] [OptBisect] Add support for selecting ranges of passes and refactor DebugCounter to use a shared Range API. (PR #152393)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 19 03:04:38 PDT 2025


https://github.com/nikic commented:

This looks reasonable to me, but an ADT reviewer will probably want to take a look.

I have one high level question: Why is the Range here signed? It seems like in this context negative numbers are not relevant. Is this just because you expect it to be useful for other use cases? (Worth noting that for "real" ranges we have ConstantRange and ConstantRangeList in IR.)

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


More information about the llvm-commits mailing list