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

Volodymyr Vasylkun via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 22 07:07:16 PDT 2024


Poseydon42 wrote:

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

Should be fixed now.

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


More information about the llvm-commits mailing list