[NFC][AArch64] Move AArch64 MSR/MRS into a new decoder namespace
authorLucas Prates <lucas.prates@arm.com>
Wed, 11 Nov 2020 16:38:54 +0000 (16:38 +0000)
committerLucas Prates <lucas.prates@arm.com>
Thu, 17 Dec 2020 13:40:10 +0000 (13:40 +0000)
commitb5bbb4b2b75302d1d8080529ec7e9737a507ff1d
tree66663288952509cc21eff52eb633066dc20942ed
parent29077ae860bcf3c9e9f2ce67ca7dfe691b6fa148
[NFC][AArch64] Move AArch64 MSR/MRS into a new decoder namespace

This removes the general forms of the AArch64 MSR and MRS instructions
from the same decoding table that contains many more specific
instructions that supersede them. They're now in a separate decoding
table of their own, called "Fallback", which is only consulted in the
event of the main decoder table failing to produce an answer.

This should avoid decoding conflicts on future specialized instructions
in the MSR space.

Patch written by Simon Tatham.

Reviewed By: ostannard

Differential Revision: https://reviews.llvm.org/D91771
llvm/lib/Target/AArch64/AArch64InstrFormats.td
llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp