We already have the udiv variant of this transform, so I think this is ok for InstCombine too even though there is an increase in IR instructions. As the tests and TODO comments show, the transform can lead to follow-on combines.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM