[llvm] [InstCombine] Fold (add (add A, 1), (sext (icmp ne A, 0))) to call umax(A, 1) (PR #122491)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 12 06:46:32 PST 2025


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

LGTM

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


More information about the llvm-commits mailing list