HomePhabricator

[InstCombine] Omit 'urem' where possible

Authored by lebedev.ri on Jul 1 2019, 2:41 AM.

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

llvm-svn: 364738

Details

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