[PM] Back out one hunk of the patch in r200901 that was *supposed* to go
authorChandler Carruth <chandlerc@gmail.com>
Thu, 6 Feb 2014 04:32:33 +0000 (04:32 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 6 Feb 2014 04:32:33 +0000 (04:32 +0000)
in my next patch. Sorry for the breakage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200902 91177308-0d34-0410-b5e6-96231b3b80d8

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));