mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
Tidy up spacing in some tablegen outputs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153937 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
769bbfd951
commit
9b1b25f063
@ -525,7 +525,7 @@ emitRegisterNameString(raw_ostream &O, StringRef AltName,
|
||||
O << "\n ";
|
||||
O << StringTable.get(AsmNames[i]) << ", ";
|
||||
}
|
||||
O << " };\n"
|
||||
O << "\n };\n"
|
||||
<< "\n";
|
||||
}
|
||||
|
||||
|
@ -578,8 +578,7 @@ RegisterInfoEmitter::runTargetHeader(raw_ostream &OS, CodeGenTarget &Target,
|
||||
const std::string &TargetName = Target.getName();
|
||||
std::string ClassName = TargetName + "GenRegisterInfo";
|
||||
|
||||
OS << "#include \"llvm/Target/TargetRegisterInfo.h\"\n";
|
||||
OS << "#include <string>\n\n";
|
||||
OS << "#include \"llvm/Target/TargetRegisterInfo.h\"\n\n";
|
||||
|
||||
OS << "namespace llvm {\n\n";
|
||||
|
||||
@ -813,8 +812,7 @@ RegisterInfoEmitter::runTargetDesc(raw_ostream &OS, CodeGenTarget &Target,
|
||||
// Emit extra information about registers.
|
||||
const std::string &TargetName = Target.getName();
|
||||
OS << "\nstatic const TargetRegisterInfoDesc "
|
||||
<< TargetName << "RegInfoDesc[] = "
|
||||
<< "{ // Extra Descriptors\n";
|
||||
<< TargetName << "RegInfoDesc[] = { // Extra Descriptors\n";
|
||||
OS << " { 0, 0 },\n";
|
||||
|
||||
const std::vector<CodeGenRegister*> &Regs = RegBank.getRegisters();
|
||||
|
Loading…
Reference in New Issue
Block a user