[TTI] There is actually no realistic way to pop TTI implementations off
[oota-llvm.git] / lib / Target / X86 / X86Subtarget.h
index 996af79ccd3bbd077efdc6094aa302e122a91812..51b2e51d20227b5ac1ff8a76d46bd3873cd16f1f 100644 (file)
@@ -240,7 +240,7 @@ public:
   void AutoDetectSubtargetFeatures();
 
   /// \brief Reset the features for the X86 target.
-  virtual void resetSubtargetFeatures(const MachineFunction *MF);
+  void resetSubtargetFeatures(const MachineFunction *MF) override;
 private:
   void initializeEnvironment();
   void resetSubtargetFeatures(StringRef CPU, StringRef FS);
@@ -411,7 +411,7 @@ public:
   /// enablePostRAScheduler - run for Atom optimization.
   bool enablePostRAScheduler(CodeGenOpt::Level OptLevel,
                              TargetSubtargetInfo::AntiDepBreakMode& Mode,
-                             RegClassVector& CriticalPathRCs) const;
+                             RegClassVector& CriticalPathRCs) const override;
 
   bool postRAScheduler() const { return PostRAScheduler; }