[PM] Back out one hunk of the patch in r200901 that was *supposed* to go
[oota-llvm.git] / tools / opt / NewPMDriver.cpp
index 313db544aba5307651d65eff17545f0fe9ae8284..c25bd73cbc35d11fdc16b5a37caff3fffd009b0e 100644 (file)
@@ -35,10 +35,6 @@ bool llvm::runPassPipeline(StringRef Arg0, LLVMContext &Context, Module &M,
   FunctionAnalysisManager FAM;
   ModuleAnalysisManager MAM;
 
-  // FIXME: Lift this registration of analysis passes into a .def file adjacent
-  // to the one used to associate names with passes.
-  MAM.registerPass(LazyCallGraphAnalysis());
-
   // Cross register the analysis managers through their proxies.
   MAM.registerPass(FunctionAnalysisManagerModuleProxy(FAM));
   FAM.registerPass(ModuleAnalysisManagerFunctionProxy(MAM));