[llvm] [LoopIdiom] Recognize the ctlz/cttz idiom when the input is known non-zero (PR #222373)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 10:50:39 PDT 2026


topperc wrote:

There is no OR recurrence in the ctlz/cttz test cases and they seem to pass without the ValueTracking change. Is this really two separate changes in one PR?

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


More information about the llvm-commits mailing list