This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Prefer BIC over BFC in ARM mode.
ClosedPublic

Authored by efriedma on Apr 6 2017, 4:49 PM.

Details

Summary

BIC is generally faster, and it can put the output in a different register from the input.

We already do this in Thumb2 mode; not sure why the equivalent fix never got applied to ARM mode.

Diff Detail

Repository
rL LLVM

Event Timeline

efriedma created this revision.Apr 6 2017, 4:49 PM
jmolloy accepted this revision.Apr 7 2017, 12:10 AM
This revision is now accepted and ready to land.Apr 7 2017, 12:10 AM
This revision was automatically updated to reflect the committed changes.