diff options
author | Dan Gohman <gohman@apple.com> | 2010-10-18 18:04:47 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-10-18 18:04:47 +0000 |
commit | c1be92f3bb9158eade30d97db6997e2fe78150ab (patch) | |
tree | c82e3b33a2f28fbda625ce88fda90cdc55e7e95b /test/Transforms/GVN/nonescaping-malloc.ll | |
parent | 9baee3b3a3924bc45d007e54c71333739d135f8e (diff) | |
download | external_llvm-c1be92f3bb9158eade30d97db6997e2fe78150ab.zip external_llvm-c1be92f3bb9158eade30d97db6997e2fe78150ab.tar.gz external_llvm-c1be92f3bb9158eade30d97db6997e2fe78150ab.tar.bz2 |
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
Diffstat (limited to 'test/Transforms/GVN/nonescaping-malloc.ll')
-rw-r--r-- | test/Transforms/GVN/nonescaping-malloc.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/GVN/nonescaping-malloc.ll b/test/Transforms/GVN/nonescaping-malloc.ll index 5a42d95..1d50205 100644 --- a/test/Transforms/GVN/nonescaping-malloc.ll +++ b/test/Transforms/GVN/nonescaping-malloc.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -gvn -stats -disable-output |& grep {Number of loads deleted} +; RUN: opt < %s -basicaa -gvn -stats -disable-output |& grep {Number of loads deleted} ; rdar://7363102 ; GVN should be able to eliminate load %tmp22.i, because it is redundant with |