This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Clean up choice of narrow instructions in ARMAsmParser, NFC
ClosedPublic

Authored by john.brawn on Jun 21 2017, 9:27 AM.

Details

Summary

This patch makes a couple of changes to how we decide whether to use the narrow or wide encoding of thumb2 instructions:

  • Common out the detection of the .w qualifier
  • Check for the CPSR operand in a consistent way

Diff Detail

Repository
rL LLVM

Event Timeline

john.brawn created this revision.Jun 21 2017, 9:27 AM
SjoerdMeijer accepted this revision.Jun 22 2017, 12:30 AM

Looks like a straightforward and sensible clean up to me.

This revision is now accepted and ready to land.Jun 22 2017, 12:30 AM
This revision was automatically updated to reflect the committed changes.