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/JumpThreading/basic.ll | |
parent | 597f9797fd12bfede377de73ab89620842278105 (diff) | |
download | external_llvm-f2f6ce65b79df6ec4ee427d51a18355a170f199b.zip external_llvm-f2f6ce65b79df6ec4ee427d51a18355a170f199b.tar.gz external_llvm-f2f6ce65b79df6ec4ee427d51a18355a170f199b.tar.bz2 |
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/JumpThreading/basic.ll')
-rw-r--r-- | test/Transforms/JumpThreading/basic.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/JumpThreading/basic.ll b/test/Transforms/JumpThreading/basic.ll index 4d3b4ae..0a6155f 100644 --- a/test/Transforms/JumpThreading/basic.ll +++ b/test/Transforms/JumpThreading/basic.ll @@ -1,6 +1,6 @@ -; RUN: opt %s -jump-threading -simplifycfg -mem2reg -S | grep {ret i32 %v1} +; RUN: opt < %s -jump-threading -simplifycfg -mem2reg -S | grep {ret i32 %v1} ; There should be no uncond branches left. -; RUN: opt %s -jump-threading -simplifycfg -mem2reg -S | not grep {br label} +; RUN: opt < %s -jump-threading -simplifycfg -mem2reg -S | not grep {br label} declare i32 @f1() declare i32 @f2() |