Revert: r189565 - Add getUnrollingPreferences to TTI
[oota-llvm.git] / lib / CodeGen / BasicTargetTransformInfo.cpp
index e1380b73e9ed66d2f78add13cd05aabeb7042641..d5340e60231eae4870f8fbab1a518c93e586c026 100644 (file)
@@ -84,7 +84,6 @@ public:
   virtual unsigned getJumpBufSize() const;
   virtual bool shouldBuildLookupTables() const;
   virtual bool haveFastSqrt(Type *Ty) const;
-  virtual bool getUnrollingPreferences(UnrollingPreferences &UP) const;
 
   /// @}
 
@@ -190,10 +189,6 @@ bool BasicTTI::haveFastSqrt(Type *Ty) const {
   return TLI->isTypeLegal(VT) && TLI->isOperationLegalOrCustom(ISD::FSQRT, VT);
 }
 
-bool BasicTTI::getUnrollingPreferences(UnrollingPreferences &) const {
-  return false;
-}
-
 //===----------------------------------------------------------------------===//
 //
 // Calls used by the vectorizers.