This is a common pattern that arise when legalizing large integers operations. Only do it when Y + 1 cannot overflow as this would change the carry behavior of uaddo .
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with a couple of minors
lib/CodeGen/SelectionDAG/DAGCombiner.cpp | ||
---|---|---|
2095 ↗ | (On Diff #97241) | Use SDValue if possible please. |