[llvm-commits] [llvm] r81263 - in /llvm/trunk/test: Feature/weak_constant.ll Transforms/IndVarSimplify/masked-iv.ll Transforms/InstCombine/or-to-xor.ll Transforms/Reassociate/inverses.ll Transforms/SCCP/apint-basictest4.ll

Dan Gohman gohman at apple.com
Tue Sep 8 15:57:49 PDT 2009


Author: djg
Date: Tue Sep  8 17:57:49 2009
New Revision: 81263

URL: http://llvm.org/viewvc/llvm-project?rev=81263&view=rev
Log:
Use "opt < %s" instead of "opt %s" so that opt doesn't print the test
filename in the output, which interferes with the tests' grep lines.

Modified:
    llvm/trunk/test/Feature/weak_constant.ll
    llvm/trunk/test/Transforms/IndVarSimplify/masked-iv.ll
    llvm/trunk/test/Transforms/InstCombine/or-to-xor.ll
    llvm/trunk/test/Transforms/Reassociate/inverses.ll
    llvm/trunk/test/Transforms/SCCP/apint-basictest4.ll

Modified: llvm/trunk/test/Feature/weak_constant.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Feature/weak_constant.ll?rev=81263&r1=81262&r2=81263&view=diff

==============================================================================
--- llvm/trunk/test/Feature/weak_constant.ll (original)
+++ llvm/trunk/test/Feature/weak_constant.ll Tue Sep  8 17:57:49 2009
@@ -1,4 +1,4 @@
-; RUN: opt %s -std-compile-opts -S > %t
+; RUN: opt < %s -std-compile-opts -S > %t
 ; RUN:   grep undef %t | count 1
 ; RUN:   grep 5 %t | count 1
 ; RUN:   grep 7 %t | count 1

Modified: llvm/trunk/test/Transforms/IndVarSimplify/masked-iv.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IndVarSimplify/masked-iv.ll?rev=81263&r1=81262&r2=81263&view=diff

==============================================================================
--- llvm/trunk/test/Transforms/IndVarSimplify/masked-iv.ll (original)
+++ llvm/trunk/test/Transforms/IndVarSimplify/masked-iv.ll Tue Sep  8 17:57:49 2009
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S > %t
+; RUN: opt < %s -indvars -S > %t
 ; RUN: not grep trunc %t
 ; RUN: grep and %t | count 1
 

Modified: llvm/trunk/test/Transforms/InstCombine/or-to-xor.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/or-to-xor.ll?rev=81263&r1=81262&r2=81263&view=diff

==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/or-to-xor.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/or-to-xor.ll Tue Sep  8 17:57:49 2009
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | grep {xor i32 %a, %b} | count 4
-; RUN: opt %s -instcombine -S | not grep {and}
+; RUN: opt < %s -instcombine -S | grep {xor i32 %a, %b} | count 4
+; RUN: opt < %s -instcombine -S | not grep {and}
 
 define i32 @func1(i32 %a, i32 %b) nounwind readnone {
 entry:

Modified: llvm/trunk/test/Transforms/Reassociate/inverses.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Reassociate/inverses.ll?rev=81263&r1=81262&r2=81263&view=diff

==============================================================================
--- llvm/trunk/test/Transforms/Reassociate/inverses.ll (original)
+++ llvm/trunk/test/Transforms/Reassociate/inverses.ll Tue Sep  8 17:57:49 2009
@@ -1,4 +1,4 @@
-; RUN: opt %s -reassociate -dce -S | \
+; RUN: opt < %s -reassociate -dce -S | \
 ; RUN:   not grep {\\(and\\|sub\\)}
 
 define i32 @test1(i32 %a, i32 %b) {

Modified: llvm/trunk/test/Transforms/SCCP/apint-basictest4.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SCCP/apint-basictest4.ll?rev=81263&r1=81262&r2=81263&view=diff

==============================================================================
--- llvm/trunk/test/Transforms/SCCP/apint-basictest4.ll (original)
+++ llvm/trunk/test/Transforms/SCCP/apint-basictest4.ll Tue Sep  8 17:57:49 2009
@@ -2,9 +2,9 @@
 ; logic operations.
 
 
-; RUN: opt %s -sccp -S | not grep and
-; RUN: opt %s -sccp -S | not grep trunc
-; RUN: opt %s -sccp -S | grep {ret i100 -1}
+; RUN: opt < %s -sccp -S | not grep and
+; RUN: opt < %s -sccp -S | not grep trunc
+; RUN: opt < %s -sccp -S | grep {ret i100 -1}
 
 define i100 @test(i133 %A) {
         %B = and i133 0, %A





More information about the llvm-commits mailing list