summaryrefslogtreecommitdiff
path: root/test/Transforms/ArgumentPromotion
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-10-18 18:04:47 +0000
committerDan Gohman <gohman@apple.com>2010-10-18 18:04:47 +0000
commitc1be92f3bb9158eade30d97db6997e2fe78150ab (patch)
treec82e3b33a2f28fbda625ce88fda90cdc55e7e95b /test/Transforms/ArgumentPromotion
parent9baee3b3a3924bc45d007e54c71333739d135f8e (diff)
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/ArgumentPromotion')
-rw-r--r--test/Transforms/ArgumentPromotion/basictest.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/ArgumentPromotion/basictest.ll b/test/Transforms/ArgumentPromotion/basictest.ll
index ac9d7bf5abb..d3d21fcabee 100644
--- a/test/Transforms/ArgumentPromotion/basictest.ll
+++ b/test/Transforms/ArgumentPromotion/basictest.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -argpromotion -mem2reg -S | not grep alloca
+; RUN: opt < %s -basicaa -argpromotion -mem2reg -S | not grep alloca
target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128"
define internal i32 @test(i32* %X, i32* %Y) {
%A = load i32* %X ; <i32> [#uses=1]