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/Transforms/LCSSA | |
parent | 597f9797fd12bfede377de73ab89620842278105 (diff) | |
download | llvm-f2f6ce65b79df6ec4ee427d51a18355a170f199b.tar.gz llvm-f2f6ce65b79df6ec4ee427d51a18355a170f199b.tar.bz2 llvm-f2f6ce65b79df6ec4ee427d51a18355a170f199b.tar.xz |
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/LCSSA')
-rw-r--r-- | test/Transforms/LCSSA/2006-06-03-IncorrectIDFPhis.ll | 4 | ||||
-rw-r--r-- | test/Transforms/LCSSA/2006-06-12-MultipleExitsSameBlock.ll | 4 | ||||
-rw-r--r-- | test/Transforms/LCSSA/2006-07-09-NoDominator.ll | 2 | ||||
-rw-r--r-- | test/Transforms/LCSSA/2006-10-31-UnreachableBlock-2.ll | 2 | ||||
-rw-r--r-- | test/Transforms/LCSSA/2006-10-31-UnreachableBlock.ll | 2 | ||||
-rw-r--r-- | test/Transforms/LCSSA/2007-07-12-LICM-2.ll | 2 | ||||
-rw-r--r-- | test/Transforms/LCSSA/2007-07-12-LICM-3.ll | 2 | ||||
-rw-r--r-- | test/Transforms/LCSSA/2007-07-12-LICM.ll | 2 | ||||
-rw-r--r-- | test/Transforms/LCSSA/basictest.ll | 4 | ||||
-rw-r--r-- | test/Transforms/LCSSA/invoke-dest.ll | 2 |
10 files changed, 13 insertions, 13 deletions
diff --git a/test/Transforms/LCSSA/2006-06-03-IncorrectIDFPhis.ll b/test/Transforms/LCSSA/2006-06-03-IncorrectIDFPhis.ll index 46df60a8ab..7545641f1a 100644 --- a/test/Transforms/LCSSA/2006-06-03-IncorrectIDFPhis.ll +++ b/test/Transforms/LCSSA/2006-06-03-IncorrectIDFPhis.ll @@ -1,6 +1,6 @@ -; RUN: opt %s -lcssa -S | \ +; RUN: opt < %s -lcssa -S | \ ; RUN: grep {%%SJE.0.0.lcssa = phi .struct.SetJmpMapEntry} -; RUN: opt %s -lcssa -S | \ +; RUN: opt < %s -lcssa -S | \ ; RUN: grep {%%SJE.0.0.lcssa1 = phi .struct.SetJmpMapEntry} %struct.SetJmpMapEntry = type { i8*, i32, %struct.SetJmpMapEntry* } diff --git a/test/Transforms/LCSSA/2006-06-12-MultipleExitsSameBlock.ll b/test/Transforms/LCSSA/2006-06-12-MultipleExitsSameBlock.ll index 4108d181a3..ad4f1447b2 100644 --- a/test/Transforms/LCSSA/2006-06-12-MultipleExitsSameBlock.ll +++ b/test/Transforms/LCSSA/2006-06-12-MultipleExitsSameBlock.ll @@ -1,6 +1,6 @@ -; RUN: opt %s -lcssa -S | \ +; RUN: opt < %s -lcssa -S | \ ; RUN: grep {%X.1.lcssa} -; RUN: opt %s -lcssa -S | \ +; RUN: opt < %s -lcssa -S | \ ; RUN: not grep {%X.1.lcssa1} declare i1 @c1() diff --git a/test/Transforms/LCSSA/2006-07-09-NoDominator.ll b/test/Transforms/LCSSA/2006-07-09-NoDominator.ll index 4a94f49904..b03f09ac20 100644 --- a/test/Transforms/LCSSA/2006-07-09-NoDominator.ll +++ b/test/Transforms/LCSSA/2006-07-09-NoDominator.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -lcssa +; RUN: opt < %s -lcssa %struct.SetJmpMapEntry = type { i8*, i32, %struct.SetJmpMapEntry* } diff --git a/test/Transforms/LCSSA/2006-10-31-UnreachableBlock-2.ll b/test/Transforms/LCSSA/2006-10-31-UnreachableBlock-2.ll index 8629b7a393..6f583f47ce 100644 --- a/test/Transforms/LCSSA/2006-10-31-UnreachableBlock-2.ll +++ b/test/Transforms/LCSSA/2006-10-31-UnreachableBlock-2.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -lcssa -disable-output -verify-dom-info +; RUN: opt < %s -lcssa -disable-output -verify-dom-info ; PR977 ; END. declare i32 @opost_block() diff --git a/test/Transforms/LCSSA/2006-10-31-UnreachableBlock.ll b/test/Transforms/LCSSA/2006-10-31-UnreachableBlock.ll index 280409c648..ecb1be5c67 100644 --- a/test/Transforms/LCSSA/2006-10-31-UnreachableBlock.ll +++ b/test/Transforms/LCSSA/2006-10-31-UnreachableBlock.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -lcssa -disable-output +; RUN: opt < %s -lcssa -disable-output ; PR977 ; END. diff --git a/test/Transforms/LCSSA/2007-07-12-LICM-2.ll b/test/Transforms/LCSSA/2007-07-12-LICM-2.ll index c6c3e34fad..2c5815cef3 100644 --- a/test/Transforms/LCSSA/2007-07-12-LICM-2.ll +++ b/test/Transforms/LCSSA/2007-07-12-LICM-2.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -loop-rotate -licm -loop-unswitch -disable-output +; RUN: opt < %s -loop-rotate -licm -loop-unswitch -disable-output define i32 @main(i32 %argc, i8** %argv) { entry: br label %bb7 diff --git a/test/Transforms/LCSSA/2007-07-12-LICM-3.ll b/test/Transforms/LCSSA/2007-07-12-LICM-3.ll index 1dd97919fe..7e0d3c63b1 100644 --- a/test/Transforms/LCSSA/2007-07-12-LICM-3.ll +++ b/test/Transforms/LCSSA/2007-07-12-LICM-3.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -loop-rotate -licm -loop-unswitch -disable-output +; RUN: opt < %s -loop-rotate -licm -loop-unswitch -disable-output define i32 @main(i32 %argc, i8** %argv) { entry: diff --git a/test/Transforms/LCSSA/2007-07-12-LICM.ll b/test/Transforms/LCSSA/2007-07-12-LICM.ll index 082050ff46..8c07aa2ec3 100644 --- a/test/Transforms/LCSSA/2007-07-12-LICM.ll +++ b/test/Transforms/LCSSA/2007-07-12-LICM.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -loop-rotate -licm -loop-unswitch -disable-output +; RUN: opt < %s -loop-rotate -licm -loop-unswitch -disable-output define i32 @main(i32 %argc, i8** %argv) { entry: br label %bb7 diff --git a/test/Transforms/LCSSA/basictest.ll b/test/Transforms/LCSSA/basictest.ll index 087d7da547..23ab2c0ce0 100644 --- a/test/Transforms/LCSSA/basictest.ll +++ b/test/Transforms/LCSSA/basictest.ll @@ -1,6 +1,6 @@ -; RUN: opt %s -lcssa -S | \ +; RUN: opt < %s -lcssa -S | \ ; RUN: grep {X3.lcssa = phi i32} -; RUN: opt %s -lcssa -S | \ +; RUN: opt < %s -lcssa -S | \ ; RUN: grep {X4 = add i32 3, %X3.lcssa} define void @lcssa(i1 %S2) { diff --git a/test/Transforms/LCSSA/invoke-dest.ll b/test/Transforms/LCSSA/invoke-dest.ll index 034d94ff38..454715089c 100644 --- a/test/Transforms/LCSSA/invoke-dest.ll +++ b/test/Transforms/LCSSA/invoke-dest.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -lcssa +; RUN: opt < %s -lcssa 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:32:32" |