summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IPConstantProp/recursion.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/IPConstantProp/recursion.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/IPConstantProp/recursion.ll')
-rw-r--r--llvm/test/Transforms/IPConstantProp/recursion.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/IPConstantProp/recursion.ll b/llvm/test/Transforms/IPConstantProp/recursion.ll
index d6ccac78c38..b25a6c08181 100644
--- a/llvm/test/Transforms/IPConstantProp/recursion.ll
+++ b/llvm/test/Transforms/IPConstantProp/recursion.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -ipconstprop -deadargelim -S | not grep %X
+; RUN: opt < %s -ipconstprop -deadargelim -S | not grep %X
define internal i32 @foo(i32 %X) {
%Y = call i32 @foo( i32 %X ) ; <i32> [#uses=1]
%Z = add i32 %Y, 1 ; <i32> [#uses=1]
OpenPOWER on IntegriCloud