[RISCV] Reduce dynamic relocations for RISCVOpcodesList table. NFC

Inline the strings directly into the table instead of storing a pointer.
Similar to what was done for other searchable tables in the last couple
months.
This commit is contained in:
Craig Topper 2025-02-27 14:59:17 -08:00
parent f3b18491e8
commit 63ecb0135d

View File

@ -484,8 +484,8 @@ struct SysReg {
namespace RISCVInsnOpcode {
struct RISCVOpcode {
const char *Name;
unsigned Value;
char Name[10];
uint8_t Value;
};
#define GET_RISCVOpcodesList_DECL