[MC] Store target Insts table in reverse order. NFC.
authorJay Foad <jay.foad@amd.com>
Wed, 11 Jan 2023 15:18:42 +0000 (15:18 +0000)
committerJay Foad <jay.foad@amd.com>
Tue, 24 Jan 2023 21:42:13 +0000 (21:42 +0000)
commit96f49905de25730c6efe1bef26e0bb60b4b1a583
treebe7c284f38dc6622d7d856478eec063b78812c07
parentfb0af89193a9ea0f92eaffb454341987f897f0c7
[MC] Store target Insts table in reverse order. NFC.

This will allow an entry in the table to access data that is stored
immediately after the end of the table, by adding its opcode value
to its address.

Differential Revision: https://reviews.llvm.org/D142217
llvm/include/llvm/MC/MCInstrInfo.h
llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
llvm/utils/TableGen/InstrInfoEmitter.cpp