From: Chandler Carruth Date: Mon, 7 Jan 2013 03:33:08 +0000 (+0000) Subject: Move the initialization to the Analysis library as well as the pass. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6554666e0034ea1cc5c8095b34d1ffbe0f62f363;p=oota-llvm.git Move the initialization to the Analysis library as well as the pass. This was (somewhat distressingly) only caught be the ocaml bindings tests... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171690 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/Analysis.cpp b/lib/Analysis/Analysis.cpp index 37e702f4c72..131a59365fe 100644 --- a/lib/Analysis/Analysis.cpp +++ b/lib/Analysis/Analysis.cpp @@ -70,6 +70,7 @@ void llvm::initializeAnalysis(PassRegistry &Registry) { initializeRegionOnlyPrinterPass(Registry); initializeScalarEvolutionPass(Registry); initializeScalarEvolutionAliasAnalysisPass(Registry); + initializeTargetTransformInfoAnalysisGroup(Registry); initializeTypeBasedAliasAnalysisPass(Registry); } diff --git a/lib/IR/Core.cpp b/lib/IR/Core.cpp index 0b09a22d753..2024ac9b050 100644 --- a/lib/IR/Core.cpp +++ b/lib/IR/Core.cpp @@ -41,7 +41,6 @@ void llvm::initializeCore(PassRegistry &Registry) { initializePrintFunctionPassPass(Registry); initializeVerifierPass(Registry); initializePreVerifierPass(Registry); - initializeTargetTransformInfoAnalysisGroup(Registry); } void LLVMInitializeCore(LLVMPassRegistryRef R) {