From da39cf486a0d57c592bf515518540ce0db3abcb9 Mon Sep 17 00:00:00 2001 From: Nico Rieck Date: Sun, 16 Feb 2014 13:27:39 +0000 Subject: [PATCH] Actually call FileCheck in tests git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201491 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll | 2 +- test/Analysis/ScalarEvolution/2012-03-26-LoadConstant.ll | 2 +- test/CodeGen/PowerPC/ctrloop-large-ec.ll | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll b/test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll index 3dacfbb0a8d..a845465a26b 100644 --- a/test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll +++ b/test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll @@ -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 diff --git a/test/Analysis/ScalarEvolution/2012-03-26-LoadConstant.ll b/test/Analysis/ScalarEvolution/2012-03-26-LoadConstant.ll index b88e33f2bb8..5746d1c5900 100644 --- a/test/Analysis/ScalarEvolution/2012-03-26-LoadConstant.ll +++ b/test/Analysis/ScalarEvolution/2012-03-26-LoadConstant.ll @@ -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. diff --git a/test/CodeGen/PowerPC/ctrloop-large-ec.ll b/test/CodeGen/PowerPC/ctrloop-large-ec.ll index c18bdabdb03..cce23fabf63 100644 --- a/test/CodeGen/PowerPC/ctrloop-large-ec.ll +++ b/test/CodeGen/PowerPC/ctrloop-large-ec.ll @@ -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"