Actually call FileCheck in tests
authorNico Rieck <nico.rieck@gmail.com>
Sun, 16 Feb 2014 13:27:39 +0000 (13:27 +0000)
committerNico Rieck <nico.rieck@gmail.com>
Sun, 16 Feb 2014 13:27:39 +0000 (13:27 +0000)
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
test/Analysis/ScalarEvolution/2012-03-26-LoadConstant.ll
test/CodeGen/PowerPC/ctrloop-large-ec.ll

index 3dacfbb0a8d490feca726cb857b672e454457b0e..a845465a26b51b47abc809c5f68405c6afbea4f4 100644 (file)
@@ -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
index b88e33f2bb8ad6e474142409c62207b8f0a4582c..5746d1c5900c29d5a487baa0d751cdb3defc34d5 100644 (file)
@@ -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.
index c18bdabdb03a9ea99a66745ddcac54c12089aac4..cce23fabf63e5c6165bb0b1b32db3d4ff8125d49 100644 (file)
@@ -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"