diff options
author | Owen Anderson <resistor@mac.com> | 2008-08-16 00:00:54 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-08-16 00:00:54 +0000 |
commit | 10d1667d5931e963d1f700d1699a248da971259d (patch) | |
tree | f6072cd0e61d3da912f6f25845db748dddcabf89 /test/Analysis/Andersens | |
parent | 8787b47a914788b4f720cc0efae5ef99d6d5c87b (diff) | |
download | external_llvm-10d1667d5931e963d1f700d1699a248da971259d.zip external_llvm-10d1667d5931e963d1f700d1699a248da971259d.tar.gz external_llvm-10d1667d5931e963d1f700d1699a248da971259d.tar.bz2 |
Remove GCSE and LoadVN from the testsuite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54832 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/Andersens')
-rw-r--r-- | test/Analysis/Andersens/arg-must-alias.ll | 15 | ||||
-rw-r--r-- | test/Analysis/Andersens/external.ll | 2 | ||||
-rw-r--r-- | test/Analysis/Andersens/modreftest.ll | 2 |
3 files changed, 2 insertions, 17 deletions
diff --git a/test/Analysis/Andersens/arg-must-alias.ll b/test/Analysis/Andersens/arg-must-alias.ll deleted file mode 100644 index 9680bb5..0000000 --- a/test/Analysis/Andersens/arg-must-alias.ll +++ /dev/null @@ -1,15 +0,0 @@ -; RUN: llvm-as < %s | opt -anders-aa -load-vn -gcse -deadargelim | llvm-dis | not grep ARG - -@G = internal constant i32* null - -define internal i32 @internal(i32* %ARG) { - ;; The 'Arg' argument must-aliases the null pointer, so it can be subsituted - ;; directly here, making it dead. - store i32* %ARG, i32** @G - ret i32 0 -} - -define i32 @foo() { - %V = call i32 @internal(i32* null) - ret i32 %V -} diff --git a/test/Analysis/Andersens/external.ll b/test/Analysis/Andersens/external.ll index 1184c6f..8a4be25 100644 --- a/test/Analysis/Andersens/external.ll +++ b/test/Analysis/Andersens/external.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -anders-aa -load-vn -gcse -deadargelim | llvm-dis | grep store | not grep null +; RUN: llvm-as < %s | opt -anders-aa -gvn -deadargelim | llvm-dis | grep store | not grep null ; Because the 'internal' function is passed to an external function, we don't ; know what the incoming values will alias. As such, we cannot do the diff --git a/test/Analysis/Andersens/modreftest.ll b/test/Analysis/Andersens/modreftest.ll index 70ca293..f86c7f7 100644 --- a/test/Analysis/Andersens/modreftest.ll +++ b/test/Analysis/Andersens/modreftest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -anders-aa -load-vn -gcse -instcombine | llvm-dis \ +; RUN: llvm-as < %s | opt -anders-aa -gvn -instcombine | llvm-dis \ ; RUN: | grep {ret i1 true} @G = internal global i32* null |