aboutsummaryrefslogtreecommitdiffstats
path: root/test/Analysis
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-11-26 02:26:36 +0000
committerOwen Anderson <resistor@mac.com>2007-11-26 02:26:36 +0000
commit00a6d1448d27b5140b911caf2eca9585abdae5c8 (patch)
treed82b6247c7d85f350e2dae27128387261a2d1a32 /test/Analysis
parentfd94dd58ffef1be3597ef8cb64f3b1d476d7d5ec (diff)
downloadexternal_llvm-00a6d1448d27b5140b911caf2eca9585abdae5c8.zip
external_llvm-00a6d1448d27b5140b911caf2eca9585abdae5c8.tar.gz
external_llvm-00a6d1448d27b5140b911caf2eca9585abdae5c8.tar.bz2
Allow GVN to eliminate read-only function calls when it can detect that they are redundant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44323 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r--test/Analysis/BasicAA/pure-const-dce.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/BasicAA/pure-const-dce.ll b/test/Analysis/BasicAA/pure-const-dce.ll
index 6abc7da..b01b5c5 100644
--- a/test/Analysis/BasicAA/pure-const-dce.ll
+++ b/test/Analysis/BasicAA/pure-const-dce.ll
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | opt -basicaa -gvn | llvm-dis | grep TestConst | count 2
-; RUN: llvm-as < %s | opt -basicaa -gvn | llvm-dis | grep TestPure | not count 2
+; RUN: llvm-as < %s | opt -basicaa -gvn | llvm-dis | grep TestPure | count 3
; RUN: llvm-as < %s | opt -basicaa -gvn | llvm-dis | grep TestNone | count 4
@g = global i32 0 ; <i32*> [#uses=1]