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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 12 03:24:49 PST 2025


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

LGTM. I don't have more comments.

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


More information about the llvm-commits mailing list