[llvm] [InstCombine] Fold `(x < y) ? -1 : zext(x > y)` and `(x > y) ? 1 : sext(x < y)` to `ucmp/scmp(x, y)` (PR #105272)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 22 07:45:52 PDT 2024


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

LGTM

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


More information about the llvm-commits mailing list