summaryrefslogtreecommitdiff
path: root/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-04-11 19:35:39 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-04-11 19:35:39 +0000
commit27894bd32b80567c763f42817daf1cc65c346b57 (patch)
treefe46a6931c396976846c53fe9758d4e38e6dfa65 /test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll
parentffb9f967d83cf680eb1bfea1fdd995ccef34223e (diff)
downloadllvm-27894bd32b80567c763f42817daf1cc65c346b57.tar.gz
llvm-27894bd32b80567c763f42817daf1cc65c346b57.tar.bz2
llvm-27894bd32b80567c763f42817daf1cc65c346b57.tar.xz
Merging r198400:
------------------------------------------------------------------------ r198400 | aschwaighofer | 2014-01-03 00:47:03 -0500 (Fri, 03 Jan 2014) | 18 lines BasicAA: Use reachabilty instead of dominance for checking value equality in phi cycles This allows the value equality check to work even if we don't have a dominator tree. Also add some more comments. I was worried about compile time impacts and did not implement reachability but used the dominance check in the initial patch. The trade-off was that the dominator tree was required. The llvm utility function isPotentiallyReachable cuts off the recursive search after 32 visits. Testing did not show any compile time regressions showing my worries unjustfied. No compile time or performance regressions at O3 -flto -mavx on test-suite + externals. Addresses review comments from r198290. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@206052 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll')
-rw-r--r--test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll b/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll
index c6a9cd9a10..06a804c392 100644
--- a/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll
+++ b/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -domtree -basicaa -aa-eval -disable-output 2>&1 | FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -disable-output 2>&1 | FileCheck %s
; TEST that A[1][0] may alias A[0][i].
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"