diff options
author | Owen Anderson <resistor@mac.com> | 2008-04-17 05:36:50 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-04-17 05:36:50 +0000 |
commit | 241f65321efc6ad84ed875cd9494df8ca1cff309 (patch) | |
tree | 6a5fe0bd914bf37dce5a90f736c2178f58094e75 /test | |
parent | f2317782697e05787dbae01c013bfdf642ed6299 (diff) | |
download | external_llvm-241f65321efc6ad84ed875cd9494df8ca1cff309.zip external_llvm-241f65321efc6ad84ed875cd9494df8ca1cff309.tar.gz external_llvm-241f65321efc6ad84ed875cd9494df8ca1cff309.tar.bz2 |
Make GVN able to remove unnecessary calls to read-only functions again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Analysis/BasicAA/pure-const-dce.ll (renamed from test/Analysis/BasicAA/const-dce.ll) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/BasicAA/const-dce.ll b/test/Analysis/BasicAA/pure-const-dce.ll index dcde914..b01b5c5 100644 --- a/test/Analysis/BasicAA/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 | 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] |