[llvm] r201491 - Actually call FileCheck in tests

Nico Rieck nico.rieck at gmail.com
Sun Feb 16 05:27:40 PST 2014


Author: nrieck
Date: Sun Feb 16 07:27:39 2014
New Revision: 201491

URL: http://llvm.org/viewvc/llvm-project?rev=201491&view=rev
Log:
Actually call FileCheck in tests

Modified:
    llvm/trunk/test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll
    llvm/trunk/test/Analysis/ScalarEvolution/2012-03-26-LoadConstant.ll
    llvm/trunk/test/CodeGen/PowerPC/ctrloop-large-ec.ll

Modified: llvm/trunk/test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll?rev=201491&r1=201490&r2=201491&view=diff
==============================================================================
--- llvm/trunk/test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll (original)
+++ llvm/trunk/test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll Sun Feb 16 07:27:39 2014
@@ -1,4 +1,4 @@
-; RUN: opt < %s -analyze -scalar-evolution | grep "(trunc i" | not grep ext
+; RUN: opt < %s -analyze -scalar-evolution | FileCheck %s
 
 ; CHECK: Printing analysis 'Scalar Evolution Analysis' for function 'test1'
 ; CHECK-NOT: (trunc i{{.*}}ext

Modified: llvm/trunk/test/Analysis/ScalarEvolution/2012-03-26-LoadConstant.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/ScalarEvolution/2012-03-26-LoadConstant.ll?rev=201491&r1=201490&r2=201491&view=diff
==============================================================================
--- llvm/trunk/test/Analysis/ScalarEvolution/2012-03-26-LoadConstant.ll (original)
+++ llvm/trunk/test/Analysis/ScalarEvolution/2012-03-26-LoadConstant.ll Sun Feb 16 07:27:39 2014
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -globalopt -instcombine -loop-rotate -licm -instcombine -indvars -loop-deletion -constmerge -S
+; RUN: opt < %s -basicaa -globalopt -instcombine -loop-rotate -licm -instcombine -indvars -loop-deletion -constmerge -S | FileCheck %s
 ; PR11882: ComputeLoadConstantCompareExitLimit crash.
 ;
 ; for.body is deleted leaving a loop-invariant load.

Modified: llvm/trunk/test/CodeGen/PowerPC/ctrloop-large-ec.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ctrloop-large-ec.ll?rev=201491&r1=201490&r2=201491&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ctrloop-large-ec.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ctrloop-large-ec.ll Sun Feb 16 07:27:39 2014
@@ -1,4 +1,4 @@
-; RUN: llc -mcpu=ppc32 < %s
+; RUN: llc -mcpu=ppc32 < %s | FileCheck %s
 target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32"
 target triple = "powerpc-unknown-linux-gnu"
 





More information about the llvm-commits mailing list