diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-06-30 18:25:11 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-06-30 18:25:11 +0000 |
commit | d86e8bb0ed5aefa6b18ffab88b8d542c95f52052 (patch) | |
tree | 94535e80931212ff5df25ef80ac53b8fb4bd6033 /llvm/lib/Target/MSP430 | |
parent | 8b08d2c5c87bbb0cca4ee59987499f73e252068b (diff) | |
download | bcm5719-llvm-d86e8bb0ed5aefa6b18ffab88b8d542c95f52052.tar.gz bcm5719-llvm-d86e8bb0ed5aefa6b18ffab88b8d542c95f52052.zip |
Delete MCCodeGenInfo.
MC doesn't really care about CodeGen stuff, so this was just
complicating target initialization.
llvm-svn: 274258
Diffstat (limited to 'llvm/lib/Target/MSP430')
-rw-r--r-- | llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp index 807d1129b5f..b3631caca95 100644 --- a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp +++ b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp @@ -14,7 +14,6 @@ #include "MSP430MCTargetDesc.h" #include "InstPrinter/MSP430InstPrinter.h" #include "MSP430MCAsmInfo.h" -#include "llvm/MC/MCCodeGenInfo.h" #include "llvm/MC/MCInstrInfo.h" #include "llvm/MC/MCRegisterInfo.h" #include "llvm/MC/MCSubtargetInfo.h" @@ -48,15 +47,6 @@ createMSP430MCSubtargetInfo(const Triple &TT, StringRef CPU, StringRef FS) { return createMSP430MCSubtargetInfoImpl(TT, CPU, FS); } -static MCCodeGenInfo *createMSP430MCCodeGenInfo(const Triple &TT, - Reloc::Model RM, - CodeModel::Model CM, - CodeGenOpt::Level OL) { - MCCodeGenInfo *X = new MCCodeGenInfo(); - X->initMCCodeGenInfo(RM, CM, OL); - return X; -} - static MCInstPrinter *createMSP430MCInstPrinter(const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, @@ -71,10 +61,6 @@ extern "C" void LLVMInitializeMSP430TargetMC() { // Register the MC asm info. RegisterMCAsmInfo<MSP430MCAsmInfo> X(TheMSP430Target); - // Register the MC codegen info. - TargetRegistry::RegisterMCCodeGenInfo(TheMSP430Target, - createMSP430MCCodeGenInfo); - // Register the MC instruction info. TargetRegistry::RegisterMCInstrInfo(TheMSP430Target, createMSP430MCInstrInfo); |