diff options
author | Dan Gohman <gohman@apple.com> | 2010-10-18 18:50:27 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-10-18 18:50:27 +0000 |
commit | 52dacc0d7f392c7066d3bac0f6ca83288e1227eb (patch) | |
tree | 7839bec86ac7d18cd14f9464b87b8318a780a307 /llvm/lib | |
parent | f7a5e20372fa4fea5d95bfad60088b8274008f24 (diff) | |
download | bcm5719-llvm-52dacc0d7f392c7066d3bac0f6ca83288e1227eb.tar.gz bcm5719-llvm-52dacc0d7f392c7066d3bac0f6ca83288e1227eb.zip |
Add TypeBasedAliasAnalysis to the standard pass lists. Note that it
is currently inert by default.
llvm-svn: 116732
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index a3b605238ab..60aa1e5c984 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp @@ -14,7 +14,6 @@ #include "llvm/Target/TargetMachine.h" #include "llvm/PassManager.h" #include "llvm/Analysis/Verifier.h" -#include "llvm/Analysis/Passes.h" #include "llvm/Assembly/PrintModulePass.h" #include "llvm/CodeGen/AsmPrinter.h" #include "llvm/CodeGen/MachineFunctionAnalysis.h" @@ -31,6 +30,7 @@ #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" #include "llvm/Support/FormattedStream.h" +#include "llvm/Support/StandardPasses.h" using namespace llvm; namespace llvm { @@ -256,7 +256,7 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM, // Standard LLVM-Level Passes. // Basic AliasAnalysis support. - PM.add(createBasicAliasAnalysisPass()); + createStandardAliasAnalysisPasses(&PM); // Before running any passes, run the verifier to determine if the input // coming from the front-end and/or optimizer is valid. |