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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 13:56:31 PDT 2024


dtcxzyw wrote:

Missing fold: https://alive2.llvm.org/ce/z/9wTPep


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


More information about the llvm-commits mailing list