This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][AsmParser] Fix bug in operand printer
ClosedPublic

Authored by c-rhodes on Aug 25 2020, 6:02 AM.

Details

Summary

The switch in AArch64Operand::print was changed in D45688 so the shift
can be printed after printing the register. This is implemented with
LLVM_FALLTHROUGH and was broken in D52485 when BTIHint was put between
the register and shift operands.

Diff Detail

Event Timeline

c-rhodes created this revision.Aug 25 2020, 6:02 AM
c-rhodes requested review of this revision.Aug 25 2020, 6:02 AM
ostannard accepted this revision.Aug 25 2020, 6:34 AM
ostannard added a subscriber: ostannard.

LGTM

This revision is now accepted and ready to land.Aug 25 2020, 6:34 AM
This revision was automatically updated to reflect the committed changes.