aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GlobalOpt/ctor-list-opt-dbg.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
commit1b4c27779eba0ad4edeb73d1c2855345ad56f6ff (patch)
tree97db9bdf6b44f9fd60eb81fa17ea54281587f89d /test/Transforms/GlobalOpt/ctor-list-opt-dbg.ll
parent06db349124125c3fc5c310afeb56be0d2d81aacb (diff)
downloadexternal_llvm-1b4c27779eba0ad4edeb73d1c2855345ad56f6ff.zip
external_llvm-1b4c27779eba0ad4edeb73d1c2855345ad56f6ff.tar.gz
external_llvm-1b4c27779eba0ad4edeb73d1c2855345ad56f6ff.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/GlobalOpt/ctor-list-opt-dbg.ll')
-rw-r--r--test/Transforms/GlobalOpt/ctor-list-opt-dbg.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/GlobalOpt/ctor-list-opt-dbg.ll b/test/Transforms/GlobalOpt/ctor-list-opt-dbg.ll
index fd65935..d1f20d0 100644
--- a/test/Transforms/GlobalOpt/ctor-list-opt-dbg.ll
+++ b/test/Transforms/GlobalOpt/ctor-list-opt-dbg.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep CTOR
+; RUN: opt %s -globalopt | llvm-dis | not grep CTOR
@llvm.global_ctors = appending global [10 x { i32, void ()* }] [ { i32, void ()* } { i32 65535, void ()* @CTOR1 }, { i32, void ()* } { i32 65535, void ()* @CTOR1 }, { i32, void ()* } { i32 65535, void ()* @CTOR2 }, { i32, void ()* } { i32 65535, void ()* @CTOR3 }, { i32, void ()* } { i32 65535, void ()* @CTOR4 }, { i32, void ()* } { i32 65535, void ()* @CTOR5 }, { i32, void ()* } { i32 65535, void ()* @CTOR6 }, { i32, void ()* } { i32 65535, void ()* @CTOR7 }, { i32, void ()* } { i32 65535, void ()* @CTOR8 }, { i32, void ()* } { i32 2147483647, void ()* null } ] ; <[10 x { i32, void ()* }]*> [#uses=0]
@G = global i32 0 ; <i32*> [#uses=1]
@G2 = global i32 0 ; <i32*> [#uses=1]