[llvm] [InstCombine] Canonicalize (a + 1 == 0) ? -1 : a + 1 -> uadd.sat(a, 1) (PR #144566)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 17 12:56:00 PDT 2025


AZero13 wrote:

<img width="746" alt="Screenshot 2025-06-17 at 3 44 44 PM" src="https://github.com/user-attachments/assets/65cb2cfb-90e9-4e2f-b6e9-e266fbc58900" />
This was my plan

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


More information about the llvm-commits mailing list