[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
Sat Dec 6 19:54:40 PST 2025
ParkHanbum wrote:
Ah! I thought I had to implement it by adding an instruction to make it behave similarly to NSW. I see I could have used range. I was mistaken.
https://github.com/llvm/llvm-project/pull/170989
More information about the llvm-commits
mailing list