summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.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/FunctionAttrs/2008-12-31-NoCapture.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/FunctionAttrs/2008-12-31-NoCapture.ll')
-rw-r--r--llvm/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll b/llvm/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll
index e8938020071..53857f61ce5 100644
--- a/llvm/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll
+++ b/llvm/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll
@@ -1,5 +1,5 @@
-; RUN: opt %s -functionattrs -S | not grep {nocapture *%%q}
-; RUN: opt %s -functionattrs -S | grep {nocapture *%%p} | count 6
+; RUN: opt < %s -functionattrs -S | not grep {nocapture *%%q}
+; RUN: opt < %s -functionattrs -S | grep {nocapture *%%p} | count 6
@g = global i32* null ; <i32**> [#uses=1]
define i32* @c1(i32* %q) {
OpenPOWER on IntegriCloud