For Mips 16, add the optimization where the 16 bit form of addiu sp can be used
[oota-llvm.git] / lib / Target / MSP430 / MSP430Subtarget.cpp
index dddfd2c70c22f94a37f3501c1cc78a9e0ea9294e..edeaf34676bd13db032ecfa38e0106da66de533b 100644 (file)
@@ -1,4 +1,4 @@
-//===- MSP430Subtarget.cpp - MSP430 Subtarget Information ---------*- C++ -*-=//
+//===-- MSP430Subtarget.cpp - MSP430 Subtarget Information ----------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
 
 #include "MSP430Subtarget.h"
 #include "MSP430.h"
+#include "llvm/Support/TargetRegistry.h"
 
-#define GET_SUBTARGETINFO_ENUM
-#define GET_SUBTARGETINFO_MC_DESC
 #define GET_SUBTARGETINFO_TARGET_DESC
 #define GET_SUBTARGETINFO_CTOR
 #include "MSP430GenSubtargetInfo.inc"
 
 using namespace llvm;
 
+void MSP430Subtarget::anchor() { }
+
 MSP430Subtarget::MSP430Subtarget(const std::string &TT,
                                  const std::string &CPU,
                                  const std::string &FS) :