HomePhabricator

[InstCombine] Omit 'urem' where possible

Description

[InstCombine] Omit 'urem' where possible

This was added in D63390 / rL364286 to backend,
but it makes sense to also handle it in middle-end.
https://rise4fun.com/Alive/Zsln

Details

Committed
lebedevriJul 1 2019, 2:41 AM
Parents
rL364737: [NFC][InstCombine] Copy test for omit urem when possible from TargetLowering
Branches
Unknown
Tags
Unknown