[llvm] [InstCombine] Preserve range information for `Op0 -nsw umin(X, Op0) --> usub.sat(Op0, X)` (PR #170989)

via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 7 03:34:59 PST 2025


ParkHanbum wrote:

If this patch is merged, I believe I can modify the patch I PR'd to handle it within `foldICmpUSubSatOrUAddSatWithConstant` in visitICmp. Thank you for this. 


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


More information about the llvm-commits mailing list