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
This commit is contained in:
Dan Gohman
2010-10-18 18:04:47 +00:00
parent 9baee3b3a3
commit c1be92f3bb
81 changed files with 115 additions and 91 deletions

View File

@@ -1,5 +1,5 @@
; RUN: opt < %s -gvn -S | grep {tmp17625.* = phi i32. }
; RUN: opt < %s -gvn -S | grep {tmp17631.* = phi i32. }
; RUN: opt < %s -basicaa -gvn -S | grep {tmp17625.* = phi i32. }
; RUN: opt < %s -basicaa -gvn -S | grep {tmp17631.* = phi i32. }
@last = external global [65 x i32*] ; <[65 x i32*]*> [#uses=1]