This can be used to optimize large multiplications after legalization.
Depends on D29565
Differential D29587
[DAGCombiner] mulhi + 1 never overflow. deadalnix on Feb 6 2017, 9:13 AM. Authored by
Details
Diff Detail
Event Timeline
Comment Actions LGTM.
|
Missing a check for which result you're using from the UMUL_LOHI. (I think this transform is only valid for the high result.)