DaKnig aa299269ea
[SDAG] (setcc (sub nsw a, b), zero, s??) -> (setcc a, b, s??) (#175459)
This often happens when the dag combiner produces sign/zero extends and
realizes that nsw/nuw can be added, for example in the case of `(abds
(sext a), (sext b))`

alive2:
- slt, nsw: [link](https://alive2.llvm.org/ce/z/cgjMSx)
- sgt, nsw: [link](https://alive2.llvm.org/ce/z/JP7h2f)
- sle, nsw: [link](https://alive2.llvm.org/ce/z/n5Wuc_)
- sge, nsw: [link](https://alive2.llvm.org/ce/z/Eps53-)
2026-01-13 17:00:00 +00:00
..