diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-11 18:01:28 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-11 18:01:28 +0000 |
commit | f2f6ce65b79df6ec4ee427d51a18355a170f199b (patch) | |
tree | 10febdb90407974203f9d08ab1180f7073ae459a /test/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll | |
parent | 597f9797fd12bfede377de73ab89620842278105 (diff) | |
download | llvm-f2f6ce65b79df6ec4ee427d51a18355a170f199b.tar.gz llvm-f2f6ce65b79df6ec4ee427d51a18355a170f199b.tar.bz2 llvm-f2f6ce65b79df6ec4ee427d51a18355a170f199b.tar.xz |
Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
input filename so that opt doesn't print the input filename in the
output so that grep lines in the tests don't unintentionally match
strings in the input filename.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81537 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll')
-rw-r--r-- | test/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll b/test/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll index f3917b84ee..42fcb1e004 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: opt %s -globaldce -S | not grep global +; RUN: opt < %s -globaldce -S | not grep global @t0 = internal global [4 x i8] c"foo\00" ; <[4 x i8]*> [#uses=1] @t1 = internal global [4 x i8] c"bar\00" ; <[4 x i8]*> [#uses=1] |