Skip to content

Commit

Permalink
[LoongArch] Delete unnecessary comments in LoongArchMCTargetDesc.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
SixWeining committed Mar 4, 2022
1 parent d60a65a commit 7a8d023
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCTargetDesc.cpp
Expand Up @@ -75,25 +75,12 @@ static MCInstPrinter *createLoongArchMCInstPrinter(const Triple &T,

extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchTargetMC() {
for (Target *T : {&getTheLoongArch32Target(), &getTheLoongArch64Target()}) {
// Register the MC register info.
TargetRegistry::RegisterMCRegInfo(*T, createLoongArchMCRegisterInfo);

// Register the MC instruction info.
TargetRegistry::RegisterMCInstrInfo(*T, createLoongArchMCInstrInfo);

// Register the MC subtarget info.
TargetRegistry::RegisterMCSubtargetInfo(*T, createLoongArchMCSubtargetInfo);

// Register the MC asm info.
TargetRegistry::RegisterMCAsmInfo(*T, createLoongArchMCAsmInfo);

// Register the MC Code Emitter
TargetRegistry::RegisterMCCodeEmitter(*T, createLoongArchMCCodeEmitter);

// Register the asm backend.
TargetRegistry::RegisterMCAsmBackend(*T, createLoongArchAsmBackend);

// Register the MCInstPrinter.
TargetRegistry::RegisterMCInstPrinter(*T, createLoongArchMCInstPrinter);
}
}

0 comments on commit 7a8d023

Please sign in to comment.