Page MenuHomePhabricator

[NFC][AArch64] Move AArch64 MSR/MRS into a new decoder namespace

Authored by pratlucas on Nov 19 2020, 2:05 AM.



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.

Diff Detail

Unit TestsFailed

60 msx64 windows > LLVM.CodeGen/XCore::threads.ll
Script: -- : 'RUN: at line 1'; c:\ws\w16n2-1\llvm-project\premerge-checks\build\bin\llc.exe -march=xcore < C:\ws\w16n2-1\llvm-project\premerge-checks\llvm\test\CodeGen\XCore\threads.ll | c:\ws\w16n2-1\llvm-project\premerge-checks\build\bin\filecheck.exe C:\ws\w16n2-1\llvm-project\premerge-checks\llvm\test\CodeGen\XCore\threads.ll

Event Timeline

pratlucas created this revision.Nov 19 2020, 2:05 AM
pratlucas requested review of this revision.Nov 19 2020, 2:05 AM
This revision is now accepted and ready to land.Nov 19 2020, 2:50 AM
This revision was landed with ongoing or failed builds.Dec 17 2020, 5:40 AM
This revision was automatically updated to reflect the committed changes.