summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-04-17 05:36:50 +0000
committerOwen Anderson <resistor@mac.com>2008-04-17 05:36:50 +0000
commitf9ae76d89cfe4c35beb52d93d3cd6b2f15648a92 (patch)
treec6f700cccb218871b8c0fe3c7c9b1713f20ad0ce /llvm/test
parent288ef83b8af8b953f11e0d071cb640061fb6c731 (diff)
downloadbcm5719-llvm-f9ae76d89cfe4c35beb52d93d3cd6b2f15648a92.tar.gz
bcm5719-llvm-f9ae76d89cfe4c35beb52d93d3cd6b2f15648a92.zip
Make GVN able to remove unnecessary calls to read-only functions again.
llvm-svn: 49842
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Analysis/BasicAA/pure-const-dce.ll (renamed from llvm/test/Analysis/BasicAA/const-dce.ll)2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Analysis/BasicAA/const-dce.ll b/llvm/test/Analysis/BasicAA/pure-const-dce.ll
index dcde91434ff..b01b5c5cb81 100644
--- a/llvm/test/Analysis/BasicAA/const-dce.ll
+++ b/llvm/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 | count 4
+; 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]
OpenPOWER on IntegriCloud