When sending stats output to stdout for grepping, don't emit normal
authorDan Gohman <gohman@apple.com>
Wed, 18 Aug 2010 20:32:46 +0000 (20:32 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 18 Aug 2010 20:32:46 +0000 (20:32 +0000)
output to standard output also.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111401 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2009-03-23-MultiUseSched.ll
test/CodeGen/X86/constant-pool-remat-0.ll
test/CodeGen/X86/critical-edge-split.ll
test/CodeGen/X86/licm-nested.ll
test/CodeGen/X86/vec_insert-6.ll
test/CodeGen/X86/vec_shuffle-19.ll
test/CodeGen/X86/vec_shuffle-20.ll
test/CodeGen/X86/zero-remat.ll

index b5873bae5f05fcfff5b0322a086e73f52e898a6d..90dabb8ab635b3451ea93794b2ba638f7012f534 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-linux -relocation-model=static -stats -info-output-file - > %t
+; RUN: llc < %s -mtriple=x86_64-linux -relocation-model=static -o /dev/null -stats -info-output-file - > %t
 ; RUN: not grep spill %t
 ; RUN: not grep {%rsp} %t
 ; RUN: not grep {%rbp} %t
index 05388f9b2a96e8a42e1b222ce08a92357b23b467..2a44463e5d32ee6d4ad17929732676895f67c787 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llc < %s -march=x86-64 | grep LCPI | count 3
-; RUN: llc < %s -march=x86-64 -stats  -info-output-file - | grep asm-printer | grep 6
+; RUN: llc < %s -march=x86-64 -o /dev/null -stats  -info-output-file - | grep asm-printer | grep 6
 ; RUN: llc < %s -march=x86 -mattr=+sse2 | grep LCPI | count 3
-; RUN: llc < %s -march=x86 -mattr=+sse2 -stats  -info-output-file - | grep asm-printer | grep 12
+; RUN: llc < %s -march=x86 -mattr=+sse2 -o /dev/null -stats  -info-output-file - | grep asm-printer | grep 12
 
 declare float @qux(float %y)
 
index f29cbf323e376b5d9957c22a02e27ebed0074d29..96fef0fbfc61146862bb7bd91be46e1102c55075 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=i386-apple-darwin -stats -info-output-file - | grep asm-printer | grep 29
+; RUN: llc < %s -mtriple=i386-apple-darwin -o /dev/null -stats -info-output-file - | grep asm-printer | grep 29
 
        %CC = type { %Register }
        %II = type { %"struct.XX::II::$_74" }
index 870f687e5656bd5a2d8301e7072d8a25e25fa594..b0105ac533bdd04b52e30e004b7152ba544d78c4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=x86_64-apple-darwin -march=x86-64 < %s -stats -info-output-file - | grep machine-licm | grep 3
+; RUN: llc -mtriple=x86_64-apple-darwin -march=x86-64 < %s -o /dev/null -stats -info-output-file - | grep machine-licm | grep 3
 
 ; MachineLICM should be able to hoist the symbolic addresses out of
 ; the inner loops.
index 54aa43f0c35dc1391ac0e739027d503361a078f9..de3b36ff126c2797e52ee49b12bba1b4b1dd12cb 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llc < %s -march=x86 -mattr=+sse2 | grep pslldq
-; RUN: llc < %s -march=x86 -mattr=+sse2 -mtriple=i686-apple-darwin9 -stats -info-output-file - | grep asm-printer | grep 6
+; RUN: llc < %s -march=x86 -mattr=+sse2 -mtriple=i686-apple-darwin9 -o /dev/null -stats -info-output-file - | grep asm-printer | grep 6
 
 define <4 x float> @t3(<4 x float>* %P) nounwind  {
        %tmp1 = load <4 x float>* %P
index 9fc09dfdd2b89e914370f4b251733033a5492c43..861a1cc5b93cf77e0496a36e36e84eb6ff541ad4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 -mtriple=i686-apple-darwin9 -stats -info-output-file - | grep asm-printer | grep 4
+; RUN: llc < %s -o /dev/null -march=x86 -mattr=+sse2 -mtriple=i686-apple-darwin9 -stats -info-output-file - | grep asm-printer | grep 4
 ; PR2485
 
 define <4 x i32> @t(<4 x i32> %a, <4 x i32> %b) nounwind  {
index 6d1bac0743d4958088fd42be3639fffc9b17ae8c..fc06b9514e436b6f268152db50987f7afda1653f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 -mtriple=i686-apple-darwin9 -stats -info-output-file - | grep asm-printer | grep 3
+; RUN: llc < %s -o /dev/null -march=x86 -mattr=+sse2 -mtriple=i686-apple-darwin9 -stats -info-output-file - | grep asm-printer | grep 3
 
 define <4 x float> @func(<4 x float> %fp0, <4 x float> %fp1) nounwind  {
 entry:
index 3e3bb95d06f773b8e7d9baf4ec4bf66c8f35eccf..447007439fbbddabe6de050baa48aca454479116 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llc < %s -march=x86-64 | FileCheck %s --check-prefix=CHECK-64
-; RUN: llc < %s -march=x86-64 -stats  -info-output-file - | grep asm-printer  | grep 12
+; RUN: llc < %s -march=x86-64 -o /dev/null -stats  -info-output-file - | grep asm-printer  | grep 12
 ; RUN: llc < %s -march=x86 | FileCheck %s --check-prefix=CHECK-32
 
 declare void @bar(double %x)