[llvm] 7a8d023 - [LoongArch] Delete unnecessary comments in LoongArchMCTargetDesc.cpp
Weining Lu via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 3 21:38:43 PST 2022
Author: Weining Lu
Date: 2022-03-04T13:36:58+08:00
New Revision: 7a8d023c8d9ada65131d2297905429974fafca4a
URL: https://github.com/llvm/llvm-project/commit/7a8d023c8d9ada65131d2297905429974fafca4a
DIFF: https://github.com/llvm/llvm-project/commit/7a8d023c8d9ada65131d2297905429974fafca4a.diff
LOG: [LoongArch] Delete unnecessary comments in LoongArchMCTargetDesc.cpp
Added:
Modified:
llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCTargetDesc.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCTargetDesc.cpp b/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCTargetDesc.cpp
index 3ed59bef1cb51..6b78b31c9b33c 100644
--- a/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCTargetDesc.cpp
+++ b/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCTargetDesc.cpp
@@ -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);
}
}
More information about the llvm-commits
mailing list