This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Add support for ORR and ORN instruction substitutions
ClosedPublic

Authored by john.brawn on Apr 26 2017, 5:16 AM.

Details

Summary

Recently support was added for substituting one intruction for another by negating or inverting the immediate, but ORR and ORN were missed so this patch adds them.

This one is slightly different to the others in that ORN only exists in thumb, so we only do the substitution in thumb.

Diff Detail

Repository
rL LLVM

Event Timeline

john.brawn created this revision.Apr 26 2017, 5:16 AM
sanwou01 edited reviewers, added: sanwou01; removed: sanne.wouda.Apr 26 2017, 5:19 AM
sanwou01 edited edge metadata.Apr 26 2017, 5:23 AM

Thanks for completing the set, John. Looks good to me, but I'll let someone else provide the seal of approval. :-)
Thanks,
Sanne

rengolin accepted this revision.May 5 2017, 3:26 AM

Sorry for the delay, LGTM. Thanks!

This revision is now accepted and ready to land.May 5 2017, 3:26 AM
This revision was automatically updated to reflect the committed changes.