diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-02 04:23:10 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-02 04:23:10 +0000 |
commit | 69ccadd7535a83b348595cf603126e6a68b2883b (patch) | |
tree | b7bd0dcf1c3042a7f4bbbbb4854ececda37568ba /test/Transforms/GlobalDCE | |
parent | a50d5962edbf9606a9a7636d845be9f980c28b87 (diff) | |
download | external_llvm-69ccadd7535a83b348595cf603126e6a68b2883b.zip external_llvm-69ccadd7535a83b348595cf603126e6a68b2883b.tar.gz external_llvm-69ccadd7535a83b348595cf603126e6a68b2883b.tar.bz2 |
Use the llvm-upgrade program to upgrade llvm assembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/GlobalDCE')
8 files changed, 8 insertions, 8 deletions
diff --git a/test/Transforms/GlobalDCE/2002-07-17-CastRef.ll b/test/Transforms/GlobalDCE/2002-07-17-CastRef.ll index 56d9494..3679d51 100644 --- a/test/Transforms/GlobalDCE/2002-07-17-CastRef.ll +++ b/test/Transforms/GlobalDCE/2002-07-17-CastRef.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -globaldce +; RUN: llvm-upgrade < %s | llvm-as | opt -globaldce ; implementation diff --git a/test/Transforms/GlobalDCE/2002-07-17-ConstantRef.ll b/test/Transforms/GlobalDCE/2002-07-17-ConstantRef.ll index 47a8a54..8bb6da5 100644 --- a/test/Transforms/GlobalDCE/2002-07-17-ConstantRef.ll +++ b/test/Transforms/GlobalDCE/2002-07-17-ConstantRef.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -globaldce +; RUN: llvm-upgrade < %s | llvm-as | opt -globaldce ; %X = global void() * %func implementation diff --git a/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll b/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll index cf22be0..e0af3c2 100644 --- a/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll +++ b/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll @@ -1,7 +1,7 @@ ; Make sure that functions are removed successfully if they are referred to by ; a global that is dead. Make sure any globals they refer to die as well. -; RUN: llvm-as < %s | opt -globaldce | llvm-dis | not grep foo +; RUN: llvm-upgrade < %s | llvm-as | opt -globaldce | llvm-dis | not grep foo %b = internal global int ()* %foo ;; Unused, kills %foo diff --git a/test/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll b/test/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll index cbc783e..493e30c 100644 --- a/test/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll +++ b/test/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll @@ -1,7 +1,7 @@ ; This testcase tests that a worklist is being used, and that globals can be ; removed if they are the subject of a constexpr and ConstantPointerRef -; RUN: llvm-as < %s | opt -globaldce | llvm-dis | not grep global +; RUN: llvm-upgrade < %s | llvm-as | opt -globaldce | llvm-dis | not grep global %t0 = internal global [4 x sbyte] c"foo\00" %t1 = internal global [4 x sbyte] c"bar\00" diff --git a/test/Transforms/GlobalDCE/2002-09-12-Redeletion.ll b/test/Transforms/GlobalDCE/2002-09-12-Redeletion.ll index 0f7f075..bc650d2 100644 --- a/test/Transforms/GlobalDCE/2002-09-12-Redeletion.ll +++ b/test/Transforms/GlobalDCE/2002-09-12-Redeletion.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -globaldce +; RUN: llvm-upgrade < %s | llvm-as | opt -globaldce %foo = internal global int 7 ;; Should die when function %foo is killed diff --git a/test/Transforms/GlobalDCE/2003-07-01-SelfReference.ll b/test/Transforms/GlobalDCE/2003-07-01-SelfReference.ll index e306d9a..afdc1cd 100644 --- a/test/Transforms/GlobalDCE/2003-07-01-SelfReference.ll +++ b/test/Transforms/GlobalDCE/2003-07-01-SelfReference.ll @@ -1,5 +1,5 @@ ; distilled from 255.vortex -; RUN: llvm-as < %s | opt -globaldce | llvm-dis | not grep testfunc +; RUN: llvm-upgrade < %s | llvm-as | opt -globaldce | llvm-dis | not grep testfunc implementation diff --git a/test/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll b/test/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll index 43ca809..4c45e72 100644 --- a/test/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll +++ b/test/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll @@ -1,6 +1,6 @@ ; Weak variables should be preserved by global DCE! -; RUN: llvm-as < %s | opt -globaldce | llvm-dis | grep %A +; RUN: llvm-upgrade < %s | llvm-as | opt -globaldce | llvm-dis | grep %A %A = weak global int 54 diff --git a/test/Transforms/GlobalDCE/basicvariabletest.ll b/test/Transforms/GlobalDCE/basicvariabletest.ll index 8990ba3..0b5c8b6 100644 --- a/test/Transforms/GlobalDCE/basicvariabletest.ll +++ b/test/Transforms/GlobalDCE/basicvariabletest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -globaldce | llvm-dis | not grep global +; RUN: llvm-upgrade < %s | llvm-as | opt -globaldce | llvm-dis | not grep global %X = uninitialized global int %Y = internal global int 7 |