summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SCCP/sccptest.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-11 18:01:28 +0000
committerDan Gohman <gohman@apple.com>2009-09-11 18:01:28 +0000
commit18800927221ce81d454948dd196c3a9049b6e6c3 (patch)
tree23b5a6121dac26f29af089e88b2a8c787ecf1bf8 /llvm/test/Transforms/SCCP/sccptest.ll
parentaf494faa57daee0ae115de27f97cbfe9d712c276 (diff)
downloadbcm5719-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/SCCP/sccptest.ll')
-rw-r--r--llvm/test/Transforms/SCCP/sccptest.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/SCCP/sccptest.ll b/llvm/test/Transforms/SCCP/sccptest.ll
index 7606d85635f..6f422f07d66 100644
--- a/llvm/test/Transforms/SCCP/sccptest.ll
+++ b/llvm/test/Transforms/SCCP/sccptest.ll
@@ -1,7 +1,7 @@
; This is the test case taken from appel's book that illustrates a hard case
; that SCCP gets right. BB3 should be completely eliminated.
;
-; RUN: opt %s -sccp -constprop -dce -simplifycfg | \
+; RUN: opt < %s -sccp -constprop -dce -simplifycfg | \
; RUN: llvm-dis | not grep BB3
define i32 @testfunction(i32 %i0, i32 %j0) {
OpenPOWER on IntegriCloud