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 | 18800927221ce81d454948dd196c3a9049b6e6c3 (patch) | |
tree | 23b5a6121dac26f29af089e88b2a8c787ecf1bf8 /llvm/test/Transforms/JumpThreading/basic.ll | |
parent | af494faa57daee0ae115de27f97cbfe9d712c276 (diff) | |
download | bcm5719-llvm-18800927221ce81d454948dd196c3a9049b6e6c3.tar.gz bcm5719-llvm-18800927221ce81d454948dd196c3a9049b6e6c3.zip |
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.
llvm-svn: 81537
Diffstat (limited to 'llvm/test/Transforms/JumpThreading/basic.ll')
-rw-r--r-- | llvm/test/Transforms/JumpThreading/basic.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/JumpThreading/basic.ll b/llvm/test/Transforms/JumpThreading/basic.ll index 4d3b4ae68f1..0a6155fa8f4 100644 --- a/llvm/test/Transforms/JumpThreading/basic.ll +++ b/llvm/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() |