mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 17:06:07 +00:00
[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:
parent
f3b18491e8
commit
63ecb0135d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user