diff --git a/include/llvm/PassManagers.h b/include/llvm/PassManagers.h index 498b1626508..44c932a0c60 100644 --- a/include/llvm/PassManagers.h +++ b/include/llvm/PassManagers.h @@ -204,10 +204,6 @@ public: virtual ~PMDataManager(); - /// Return true IFF pass P's required analysis set does not required new - /// manager. - bool manageablePass(Pass *P); - /// Augment AvailableAnalysis by adding analysis made available by pass P. void recordAvailableAnalysis(Pass *P); diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index 5620d0f886c..089c451fa8c 100644 --- a/lib/VMCore/PassManager.cpp +++ b/lib/VMCore/PassManager.cpp @@ -547,20 +547,6 @@ PMTopLevelManager::~PMTopLevelManager() { //===----------------------------------------------------------------------===// // PMDataManager implementation -/// Return true IFF pass P's required analysis set does not required new -/// manager. -bool PMDataManager::manageablePass(Pass *P) { - - // TODO - // If this pass is not preserving information that is required by a - // pass maintained by higher level pass manager then do not insert - // this pass into current manager. Use new manager. For example, - // For example, If FunctionPass F is not preserving ModulePass Info M1 - // that is used by another ModulePass M2 then do not insert F in - // current function pass manager. - return true; -} - /// Augement AvailableAnalysis by adding analysis made available by pass P. void PMDataManager::recordAvailableAnalysis(Pass *P) {