diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-11 18:01:28 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-11 18:01:28 +0000 |
commit | f2f6ce65b79df6ec4ee427d51a18355a170f199b (patch) | |
tree | 10febdb90407974203f9d08ab1180f7073ae459a /test/Other | |
parent | 597f9797fd12bfede377de73ab89620842278105 (diff) |
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/Other')
-rw-r--r-- | test/Other/2002-01-31-CallGraph.ll | 2 | ||||
-rw-r--r-- | test/Other/2002-02-24-InlineBrokePHINodes.ll | 2 | ||||
-rw-r--r-- | test/Other/2002-03-11-ConstPropCrash.ll | 2 | ||||
-rw-r--r-- | test/Other/2003-02-19-LoopInfoNestingBug.ll | 2 | ||||
-rw-r--r-- | test/Other/2007-04-24-eliminate-mostly-empty-blocks.ll | 2 | ||||
-rw-r--r-- | test/Other/2007-06-05-PassID.ll | 2 | ||||
-rw-r--r-- | test/Other/2007-09-10-PassManager.ll | 2 | ||||
-rw-r--r-- | test/Other/2008-03-19-PassManager.ll | 2 | ||||
-rw-r--r-- | test/Other/2008-06-04-FieldSizeInPacked.ll | 2 | ||||
-rw-r--r-- | test/Other/2008-10-06-RemoveDeadPass.ll | 2 | ||||
-rw-r--r-- | test/Other/2009-03-31-CallGraph.ll | 2 | ||||
-rw-r--r-- | test/Other/2009-06-05-no-implicit-float.ll | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/test/Other/2002-01-31-CallGraph.ll b/test/Other/2002-01-31-CallGraph.ll index 1fd0368480..0e4c877512 100644 --- a/test/Other/2002-01-31-CallGraph.ll +++ b/test/Other/2002-01-31-CallGraph.ll @@ -1,6 +1,6 @@ ; Call graph construction crash: Not handling indirect calls right ; -; RUN: opt %s -analyze -print-callgraph >& /dev/null +; RUN: opt < %s -analyze -print-callgraph >& /dev/null ; %FunTy = type i32 (i32) diff --git a/test/Other/2002-02-24-InlineBrokePHINodes.ll b/test/Other/2002-02-24-InlineBrokePHINodes.ll index c5c2f38021..db26942096 100644 --- a/test/Other/2002-02-24-InlineBrokePHINodes.ll +++ b/test/Other/2002-02-24-InlineBrokePHINodes.ll @@ -1,7 +1,7 @@ ; Inlining used to break PHI nodes. This tests that they are correctly updated ; when a node is split around the call instruction. The verifier caught the error. ; -; RUN: opt %s -inline +; RUN: opt < %s -inline ; define i64 @test(i64 %X) { diff --git a/test/Other/2002-03-11-ConstPropCrash.ll b/test/Other/2002-03-11-ConstPropCrash.ll index b1e727565a..a6d4f5b3db 100644 --- a/test/Other/2002-03-11-ConstPropCrash.ll +++ b/test/Other/2002-03-11-ConstPropCrash.ll @@ -5,7 +5,7 @@ ; ; Fixed by adding new arguments to ConstantFoldTerminator ; -; RUN: opt %s -constprop +; RUN: opt < %s -constprop define void @build_tree(i32 %ml) { ; <label>:0 diff --git a/test/Other/2003-02-19-LoopInfoNestingBug.ll b/test/Other/2003-02-19-LoopInfoNestingBug.ll index 2672c9f07b..267b0e8986 100644 --- a/test/Other/2003-02-19-LoopInfoNestingBug.ll +++ b/test/Other/2003-02-19-LoopInfoNestingBug.ll @@ -2,7 +2,7 @@ ; figure out that loop "Inner" should be nested inside of leep "LoopHeader", ; and instead nests it just inside loop "Top" ; -; RUN: opt %s -analyze -loops | \ +; RUN: opt < %s -analyze -loops | \ ; RUN: grep { Loop at depth 3 containing: %Inner<header><latch><exit>} ; define void @test() { diff --git a/test/Other/2007-04-24-eliminate-mostly-empty-blocks.ll b/test/Other/2007-04-24-eliminate-mostly-empty-blocks.ll index 3d1c3749a0..c436e07a9c 100644 --- a/test/Other/2007-04-24-eliminate-mostly-empty-blocks.ll +++ b/test/Other/2007-04-24-eliminate-mostly-empty-blocks.ll @@ -1,4 +1,4 @@ -;RUN: opt %s -codegenprepare -disable-output +;RUN: opt < %s -codegenprepare -disable-output define void @foo() { entry: diff --git a/test/Other/2007-06-05-PassID.ll b/test/Other/2007-06-05-PassID.ll index ce54048412..7a03544f69 100644 --- a/test/Other/2007-06-05-PassID.ll +++ b/test/Other/2007-06-05-PassID.ll @@ -1,4 +1,4 @@ -;RUN: opt %s -analyze -dot-cfg-only -disable-output 2>/dev/null +;RUN: opt < %s -analyze -dot-cfg-only -disable-output 2>/dev/null ;PR 1497 define void @foo() { diff --git a/test/Other/2007-09-10-PassManager.ll b/test/Other/2007-09-10-PassManager.ll index 20e323f68b..ded15e5695 100644 --- a/test/Other/2007-09-10-PassManager.ll +++ b/test/Other/2007-09-10-PassManager.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -loop-unswitch -indvars -disable-output +; RUN: opt < %s -loop-unswitch -indvars -disable-output ; Require SCEV before LCSSA. define void @foo() { entry: diff --git a/test/Other/2008-03-19-PassManager.ll b/test/Other/2008-03-19-PassManager.ll index 8411d60f15..e2082228e3 100644 --- a/test/Other/2008-03-19-PassManager.ll +++ b/test/Other/2008-03-19-PassManager.ll @@ -1,5 +1,5 @@ ; PR 2034 -; RUN: opt %s -anders-aa -instcombine -gvn -disable-output +; RUN: opt < %s -anders-aa -instcombine -gvn -disable-output %struct.FULL = type { i32, i32, [1000 x float*] } define i32 @sgesl(%struct.FULL* %a, i32* %ipvt, float* %b, i32 %job) { diff --git a/test/Other/2008-06-04-FieldSizeInPacked.ll b/test/Other/2008-06-04-FieldSizeInPacked.ll index 50aec822e7..d90209f6af 100644 --- a/test/Other/2008-06-04-FieldSizeInPacked.ll +++ b/test/Other/2008-06-04-FieldSizeInPacked.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -instcombine -S | grep true +; RUN: opt < %s -instcombine -S | grep true target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128" target triple = "x86_64-unknown-linux-gnu" diff --git a/test/Other/2008-10-06-RemoveDeadPass.ll b/test/Other/2008-10-06-RemoveDeadPass.ll index f62885278e..7cec2c57c2 100644 --- a/test/Other/2008-10-06-RemoveDeadPass.ll +++ b/test/Other/2008-10-06-RemoveDeadPass.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -internalize -disable-output +; RUN: opt < %s -inline -internalize -disable-output define void @foo() nounwind { ret void } diff --git a/test/Other/2009-03-31-CallGraph.ll b/test/Other/2009-03-31-CallGraph.ll index dc6fc6bda5..d6653ecbe8 100644 --- a/test/Other/2009-03-31-CallGraph.ll +++ b/test/Other/2009-03-31-CallGraph.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -prune-eh -disable-output +; RUN: opt < %s -inline -prune-eh -disable-output define void @f2() { invoke void @f6() to label %ok1 unwind label %lpad1 diff --git a/test/Other/2009-06-05-no-implicit-float.ll b/test/Other/2009-06-05-no-implicit-float.ll index 51e1466f50..0d02e3c9e2 100644 --- a/test/Other/2009-06-05-no-implicit-float.ll +++ b/test/Other/2009-06-05-no-implicit-float.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -verify -S | grep noimplicitfloat +; RUN: opt < %s -verify -S | grep noimplicitfloat define void @f() noimplicitfloat { } |