commit | 3c7d3083e7c99a22ee4803048dfb86c7a57b1006 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Fri Sep 11 18:01:28 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Fri Sep 11 18:01:28 2009 +0000 |
tree | 10febdb90407974203f9d08ab1180f7073ae459a | |
parent | a24946acb21bffc40e9054f7ac25eb9319b406d8 [diff] [blame] |
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
diff --git a/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll b/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll index 126fbae..4136486 100644 --- a/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll +++ b/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll
@@ -1,4 +1,4 @@ -; RUN: opt %s -loop-reduce -S | \ +; RUN: opt < %s -loop-reduce -S | \ ; RUN: not grep {bitcast i32 1 to i32} ; END. ; The setlt wants to use a value that is incremented one more than the dominant