Fix X86 subtarget to not overwrite the autodetected features by calling InitMCProcess...
[oota-llvm.git] / include / llvm / MC / MCSubtargetInfo.h
index 346fb2df0ffc03e4ab8515dcc1c13ad31bdf78ec..01e8236482f7a46d2c24d7732b5f7ad6eb9222b0 100644 (file)
@@ -72,6 +72,9 @@ public:
   /// feature string). Recompute feature bits and scheduling model.
   void InitMCProcessorInfo(StringRef CPU, StringRef FS);
 
+  /// InitCPUSchedModel - Recompute scheduling model based on CPU.
+  void InitCPUSchedModel(StringRef CPU);
+
   /// ToggleFeature - Toggle a feature and returns the re-computed feature
   /// bits. This version does not change the implied bits.
   uint64_t ToggleFeature(uint64_t FB);