[llvm] [InstCombine] Canonicalize `smax(smin(X, MinC), MaxC) -> smin(smax(X, MaxC), MinC)` (PR #136665)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 22 03:42:38 PDT 2025


el-ev wrote:

The unsigned version works as well.
https://alive2.llvm.org/ce/z/4KCjgL

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


More information about the llvm-commits mailing list