aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-08 16:50:01 +0000
committerDan Gohman <gohman@apple.com>2009-09-08 16:50:01 +0000
commitb1e1e82c54c060ea5dae09dae043234826ca2539 (patch)
tree97db9bdf6b44f9fd60eb81fa17ea54281587f89d /test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll
parentee7110f0478cc90ffa419759e21557ed8d669562 (diff)
downloadexternal_llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.zip
external_llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.tar.gz
external_llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.tar.bz2
Change these tests to feed the assembly files to opt directly, instead
of using llvm-as, now that opt supports this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll')
-rw-r--r--test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll b/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll
index dac81a3..443fe91 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: opt %s -globaldce | llvm-dis | not grep foo
;; Unused, kills %foo
@b = internal global i32 ()* @foo ; <i32 ()**> [#uses=0]