mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
clang-format a bit of code to make the next patch easier to read.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203203 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -294,27 +294,11 @@ GetInstByName(const char *Name,
|
||||
void CodeGenTarget::ComputeInstrsByEnum() const {
|
||||
// The ordering here must match the ordering in TargetOpcodes.h.
|
||||
static const char *const FixedInstrs[] = {
|
||||
"PHI",
|
||||
"INLINEASM",
|
||||
"PROLOG_LABEL",
|
||||
"EH_LABEL",
|
||||
"GC_LABEL",
|
||||
"KILL",
|
||||
"EXTRACT_SUBREG",
|
||||
"INSERT_SUBREG",
|
||||
"IMPLICIT_DEF",
|
||||
"SUBREG_TO_REG",
|
||||
"COPY_TO_REGCLASS",
|
||||
"DBG_VALUE",
|
||||
"REG_SEQUENCE",
|
||||
"COPY",
|
||||
"BUNDLE",
|
||||
"LIFETIME_START",
|
||||
"LIFETIME_END",
|
||||
"STACKMAP",
|
||||
"PATCHPOINT",
|
||||
0
|
||||
};
|
||||
"PHI", "INLINEASM", "PROLOG_LABEL", "EH_LABEL",
|
||||
"GC_LABEL", "KILL", "EXTRACT_SUBREG", "INSERT_SUBREG",
|
||||
"IMPLICIT_DEF", "SUBREG_TO_REG", "COPY_TO_REGCLASS", "DBG_VALUE",
|
||||
"REG_SEQUENCE", "COPY", "BUNDLE", "LIFETIME_START",
|
||||
"LIFETIME_END", "STACKMAP", "PATCHPOINT", 0};
|
||||
const DenseMap<const Record*, CodeGenInstruction*> &Insts = getInstructions();
|
||||
for (const char *const *p = FixedInstrs; *p; ++p) {
|
||||
const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records);
|
||||
|
||||
Reference in New Issue
Block a user