aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GVN/calls-nonlocal.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
commit3c7d3083e7c99a22ee4803048dfb86c7a57b1006 (patch)
tree10febdb90407974203f9d08ab1180f7073ae459a /test/Transforms/GVN/calls-nonlocal.ll
parenta24946acb21bffc40e9054f7ac25eb9319b406d8 (diff)
downloadexternal_llvm-3c7d3083e7c99a22ee4803048dfb86c7a57b1006.zip
external_llvm-3c7d3083e7c99a22ee4803048dfb86c7a57b1006.tar.gz
external_llvm-3c7d3083e7c99a22ee4803048dfb86c7a57b1006.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/GVN/calls-nonlocal.ll')
-rw-r--r--test/Transforms/GVN/calls-nonlocal.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/GVN/calls-nonlocal.ll b/test/Transforms/GVN/calls-nonlocal.ll
index 5b35385..f0edf09 100644
--- a/test/Transforms/GVN/calls-nonlocal.ll
+++ b/test/Transforms/GVN/calls-nonlocal.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | grep strlen | count 2
+; RUN: opt < %s -gvn -S | grep strlen | count 2
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
target triple = "i386-apple-darwin9"