[llvm] [InstCombine] Fold `ucmp/scmp(x, y) >> N` to `zext/sext(x < y)` when N is one less than the width of the result of `ucmp/scmp` (PR #104009)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 14 09:01:24 PDT 2024


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

LGTM

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


More information about the llvm-commits mailing list