Make BasicAliasAnalysis a normal AliasAnalysis implementation which
authorDan Gohman <gohman@apple.com>
Mon, 18 Oct 2010 18:04:47 +0000 (18:04 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 18 Oct 2010 18:04:47 +0000 (18:04 +0000)
commitc1be92f3bb9158eade30d97db6997e2fe78150ab
treec82e3b33a2f28fbda625ce88fda90cdc55e7e95b
parent9baee3b3a3924bc45d007e54c71333739d135f8e
Make BasicAliasAnalysis a normal AliasAnalysis implementation which
does normal initialization and normal chaining. Change the default
AliasAnalysis implementation to NoAlias.

Update StandardCompileOpts.h and friends to explicitly request
BasicAliasAnalysis.

Update tests to explicitly request -basicaa.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116720 91177308-0d34-0410-b5e6-96231b3b80d8
81 files changed:
include/llvm/Support/StandardPasses.h
lib/Analysis/BasicAliasAnalysis.cpp
lib/CodeGen/LLVMTargetMachine.cpp
test/Analysis/BasicAA/2003-02-26-AccessSizeTest.ll
test/Analysis/BasicAA/2003-04-22-GEPProblem.ll
test/Analysis/BasicAA/2003-05-21-GEP-Problem.ll
test/Analysis/BasicAA/2003-09-19-LocalArgument.ll
test/Analysis/BasicAA/2003-11-04-SimpleCases.ll
test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll
test/Analysis/BasicAA/2004-07-28-MustAliasbug.ll
test/Analysis/BasicAA/2004-12-08-BasicAACrash.ll
test/Analysis/BasicAA/2004-12-08-BasicAACrash2.ll
test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll
test/Analysis/BasicAA/2006-11-03-BasicAAVectorCrash.ll
test/Analysis/BasicAA/2007-11-05-SizeCrash.ll
test/Analysis/BasicAA/2007-12-08-OutOfBoundsCrash.ll
test/Analysis/BasicAA/2008-06-02-GEPTailCrash.ll
test/Analysis/BasicAA/2008-11-23-NoaliasRet.ll
test/Analysis/BasicAA/2009-10-13-AtomicModRef.ll
test/Analysis/BasicAA/2009-10-13-GEP-BaseNoAlias.ll
test/Analysis/BasicAA/args-rets-allocas-loads.ll
test/Analysis/BasicAA/byval.ll
test/Analysis/BasicAA/constant-over-index.ll
test/Analysis/BasicAA/empty.ll
test/Analysis/BasicAA/gep-alias.ll
test/Analysis/BasicAA/getmodrefinfo-cs-cs.ll
test/Analysis/BasicAA/phi-and-select.ll
test/Analysis/BasicAA/unreachable-block.ll
test/Analysis/GlobalsModRef/aliastest.ll
test/Analysis/GlobalsModRef/chaining-analysis.ll
test/Analysis/GlobalsModRef/indirect-global.ll
test/Analysis/GlobalsModRef/modreftest.ll
test/Analysis/LoopDependenceAnalysis/alias.ll
test/Analysis/LoopDependenceAnalysis/siv-strong.ll
test/Analysis/LoopDependenceAnalysis/siv-weak-crossing.ll
test/Analysis/LoopDependenceAnalysis/siv-weak-zero.ll
test/Analysis/LoopDependenceAnalysis/ziv.ll
test/Analysis/TypeBasedAliasAnalysis/aliastest.ll
test/Other/lint.ll
test/Transforms/ArgumentPromotion/basictest.ll
test/Transforms/DeadStoreElimination/2008-07-28-load-store.ll
test/Transforms/DeadStoreElimination/PartialStore.ll
test/Transforms/DeadStoreElimination/const-pointers.ll
test/Transforms/DeadStoreElimination/context-sensitive.ll
test/Transforms/DeadStoreElimination/free.ll
test/Transforms/DeadStoreElimination/lifetime.ll
test/Transforms/DeadStoreElimination/no-targetdata.ll
test/Transforms/DeadStoreElimination/simple.ll
test/Transforms/GVN/2007-07-25-InfiniteLoop.ll
test/Transforms/GVN/2007-07-26-InterlockingLoops.ll
test/Transforms/GVN/2007-07-31-NoDomInherit.ll
test/Transforms/GVN/2007-07-31-RedundantPhi.ll
test/Transforms/GVN/2008-07-02-Unreachable.ll
test/Transforms/GVN/2010-03-31-RedundantPHIs.ll
test/Transforms/GVN/calls-nonlocal.ll
test/Transforms/GVN/condprop.ll
test/Transforms/GVN/invariant-simple.ll
test/Transforms/GVN/lifetime-simple.ll
test/Transforms/GVN/load-constant-mem.ll
test/Transforms/GVN/load-pre-licm.ll
test/Transforms/GVN/lpre-call-wrap-2.ll
test/Transforms/GVN/mixed.ll
test/Transforms/GVN/nonescaping-malloc.ll
test/Transforms/GVN/null-aliases-nothing.ll
test/Transforms/GVN/pre-load.ll
test/Transforms/GVN/rle-must-alias.ll
test/Transforms/GVN/rle-nonlocal.ll
test/Transforms/GVN/rle-semidominated.ll
test/Transforms/GVN/rle.ll
test/Transforms/Inline/devirtualize-3.ll
test/Transforms/Inline/devirtualize.ll
test/Transforms/Inline/gvn-inline-iteration.ll
test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll
test/Transforms/LICM/scalar_promote.ll
test/Transforms/MemCpyOpt/2008-02-24-MultipleUseofSRet.ll
test/Transforms/MemCpyOpt/2008-03-13-ReturnSlotBitcast.ll
test/Transforms/MemCpyOpt/loadstore-sret.ll
test/Transforms/MemCpyOpt/memcpy.ll
test/Transforms/MemCpyOpt/memmove.ll
test/Transforms/MemCpyOpt/sret.ll
test/Transforms/Sink/basic.ll