Cache the Function dependent subtarget on the MachineFunction.
[oota-llvm.git] / lib / Target / X86 / X86TargetMachine.h
index 7720e97495da5e658d2d23e66d043248dcf82417..c9833ed39e24e5605e8dfe849f2f6c2712c2f1db 100644 (file)
@@ -33,7 +33,6 @@ public:
                    const TargetOptions &Options, Reloc::Model RM,
                    CodeModel::Model CM, CodeGenOpt::Level OL);
   ~X86TargetMachine() override;
-  const X86Subtarget *getSubtargetImpl() const override { return &Subtarget; }
   const X86Subtarget *getSubtargetImpl(const Function &F) const override;
 
   TargetIRAnalysis getTargetIRAnalysis() override;