This is an archive of the discontinued LLVM Phabricator instance.

[Reassociate] Convert shl by constant into multiply if it feeds a negation.
AbandonedPublic

Authored by mcrosier on Feb 21 2017, 1:30 PM.

Details

Reviewers
efriedma
Summary

See the test case for an example of what this hits.

This is an alternative to D29777.

Chad

Diff Detail