Skip to content

Commit

Permalink
Revert the test moves from 176733. Use "REQUIRES: asserts" instead.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176873 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
jvoung committed Mar 12, 2013
1 parent a15e708 commit 4323665
Show file tree
Hide file tree
Showing 87 changed files with 73 additions and 68 deletions.
4 changes: 0 additions & 4 deletions test/Analysis/RegionInfo/Stats/lit.local.cfg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats -analyze < %s 2>&1 | FileCheck -check-prefix=STAT %s
; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -regions -analyze < %s | FileCheck %s
; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=pic \
; RUN: -mattr=+v6 | grep r9
; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=pic \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -o /dev/null -stats 2>&1 | FileCheck %s -check-prefix=STATS
; Radar 10266272
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:32-n32-S32"
Expand Down
8 changes: 0 additions & 8 deletions test/CodeGen/ARM/Stats/lit.local.cfg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=arm -stats 2>&1 | grep asm-printer | grep 4

define i32 @t1(i32 %a) {
Expand Down
8 changes: 0 additions & 8 deletions test/CodeGen/PowerPC/Stats/lit.local.cfg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=ppc32 -stats 2>&1 | \
; RUN: grep "4 .*Number of machine instrs printed"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=ppc32 -stats 2>&1 | \
; RUN: grep "Number of machine instrs printed" | grep 12

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; The old instruction selector used to load all arguments to a call up in
; registers, then start pushing them all onto the stack. This is bad news as
; it makes a ton of annoying overlapping live ranges. This code should not
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=x86 -stats 2>&1 | \
; RUN: grep asm-printer | grep 7

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=x86 -mcpu=yonah -stats 2>&1 | \
; RUN: not grep "Number of register spills"
; END.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=x86 -relocation-model=static -stats 2>&1 | \
; RUN: grep asm-printer | grep 14
;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=x86 -stats 2>&1 | \
; RUN: grep asm-printer | grep 13

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mcpu=penryn -mattr=+sse2 -stats -realign-stack=0 2>&1 | \
; RUN: grep "asm-printer" | grep 35

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=x86 -mcpu=yonah -stats 2>&1 | grep "Number of block tails merged" | grep 16
; PR1909

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -mtriple=i386-apple-darwin -mattr=+sse2 -stats 2>&1 | FileCheck %s
; Now this test spills one register. But a reload in the loop is cheaper than
; the divsd so it's a win.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=x86 -mattr=+sse2 -stats 2>&1 | not grep commuted
; rdar://6608609

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=x86-64 -mattr=+sse3,+sse41 -mcpu=penryn -stats 2>&1 | grep "5 machine-licm"
; RUN: llc < %s -march=x86-64 -mattr=+sse3,+sse41 -mcpu=penryn | FileCheck %s
; rdar://6627786
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -mtriple=x86_64-apple-darwin10.0 -relocation-model=pic -disable-fp-elim -stats 2>&1 | grep "Number of modref unfolded"
; XFAIL: *
; 69408 removed the opportunity for this optimization to work
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -mtriple=x86_64-apple-darwin11 -relocation-model=pic -disable-fp-elim -stats 2>&1 | not grep ext-opt

define fastcc i8* @S_scan_str(i8* %start, i32 %keep_quoted, i32 %keep_delims) nounwind ssp {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -O0 -disable-fp-elim -relocation-model=pic -stats 2>&1 | FileCheck %s
;
; This test should not cause any spilling with RAFast.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -mtriple=x86_64-apple-darwin10 -stats 2>&1 | \
; RUN: not grep "Number of machine instructions hoisted out of loops post regalloc"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -mtriple=x86_64-appel-darwin -disable-cgp-branch-opts -stats 2>&1 | grep "machine-sink"

define fastcc void @t() nounwind ssp {
Expand Down
8 changes: 0 additions & 8 deletions test/CodeGen/X86/Stats/lit.local.cfg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
; RUN: llc < %s -mtriple=x86_64-linux -regalloc=greedy | FileCheck %s
; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -mtriple=x86_64-linux -o /dev/null -stats 2>&1 | FileCheck %s -check-prefix=STATS
; RUN: llc < %s -mtriple=x86_64-win32 -o /dev/null -stats 2>&1 | FileCheck %s -check-prefix=STATS
; STATS: 9 asm-printer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=x86 -mattr=+sse2 -mtriple=i386-apple-darwin -stats 2>&1 | grep asm-printer | grep 14

define i32 @t(i8* %ref_frame_ptr, i32 %ref_frame_stride, i32 %idxX, i32 %idxY) nounwind {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -stats -O2 2>&1 | grep "1 machine-licm"

target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc -mtriple=x86_64-apple-darwin -march=x86-64 < %s -o /dev/null -stats -info-output-file - | grep "hoisted out of loops" | grep 3

; MachineLICM should be able to hoist the symbolic addresses out of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=x86 -stats 2>&1 | grep "Number of blocks eliminated" | grep 6
; PR1296

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=x86 -stats 2>&1 | not grep "instructions sunk"
; PR3522

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
;; Both functions in this testcase should codegen to the same function, and
;; neither of them should require spilling anything to the stack.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=penryn -stats 2>&1 | \
; RUN: grep "twoaddrinstr" | grep "Number of instructions aggressively commuted"
; rdar://6480363
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=x86 -mattr=+sse2 -stats 2>&1 | grep "Number of 3-address instructions sunk"

define void @t2(<2 x i64>* %vDct, <2 x i64>* %vYp, i8* %skiplist, <2 x i64> %a1) nounwind {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=penryn | grep pslldq
; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=penryn -mtriple=i686-apple-darwin9 -o /dev/null -stats -info-output-file - | grep asm-printer | grep 6

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -o /dev/null -march=x86 -mcpu=penryn -mattr=+sse2 -mtriple=i686-apple-darwin9 -stats -info-output-file - | grep asm-printer | grep 4
; PR2485

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -o /dev/null -march=x86 -mcpu=corei7 -mtriple=i686-apple-darwin9 -stats -info-output-file - | grep asm-printer | grep 2

define <4 x float> @func(<4 x float> %fp0, <4 x float> %fp1) nounwind {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: llc < %s -march=x86-64 | FileCheck %s --check-prefix=CHECK-64
; 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
Expand Down
4 changes: 0 additions & 4 deletions test/Transforms/GVN/Stats/lit.local.cfg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt < %s -basicaa -gvn -stats -disable-output 2>&1 | grep "Number of loads deleted"
; rdar://7363102

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt < %s -globalopt -stats -disable-output 2>&1 | grep "1 globalopt - Number of global vars shrunk to booleans"

@Stop = internal global i32 0 ; <i32*> [#uses=3]
Expand Down
4 changes: 0 additions & 4 deletions test/Transforms/GlobalOpt/Stats/lit.local.cfg

This file was deleted.

4 changes: 0 additions & 4 deletions test/Transforms/IndVarSimplify/Stats/lit.local.cfg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt < %s -indvars -disable-output -stats -info-output-file - | FileCheck %s
; Check that IndVarSimplify is not creating unnecessary canonical IVs
; that will never be used.
Expand Down
4 changes: 0 additions & 4 deletions test/Transforms/Inline/Stats/lit.local.cfg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -S -inline -stats < %s 2>&1 | FileCheck %s
; CHECK: Number of functions inlined

Expand Down
4 changes: 0 additions & 4 deletions test/Transforms/LICM/Stats/lit.local.cfg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt < %s -licm -stats -S 2>&1 | grep "1 licm"

@"\01L_OBJC_METH_VAR_NAME_" = internal global [4 x i8] c"foo\00", section "__TEXT,__objc_methname,cstring_literals", align 1
Expand Down
4 changes: 0 additions & 4 deletions test/Transforms/LoopUnroll/Stats/lit.local.cfg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt < %s -disable-output -stats -loop-unroll -unroll-runtime -unroll-threshold=400 -info-output-file - | FileCheck %s --check-prefix=STATS

; Test that nested loops can be unrolled. We need to increase threshold to do it
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt < %s -loop-unswitch -stats -disable-output 2>&1 | grep "1 loop-unswitch - Number of branches unswitched" | count 1
; PR 3170
define i32 @a(i32 %x, i32 %y) nounwind {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -loop-unswitch -disable-output -stats -info-output-file - < %s | FileCheck --check-prefix=STATS %s
; RUN: opt -S -loop-unswitch -verify-loop-info -verify-dom-info < %s | FileCheck %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -loop-unswitch -loop-unswitch-threshold 13 -disable-output -stats -info-output-file - < %s | FileCheck --check-prefix=STATS %s
; RUN: opt -S -loop-unswitch -loop-unswitch-threshold 13 -verify-loop-info -verify-dom-info < %s | FileCheck %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -loop-unswitch -loop-unswitch-threshold 1000 -disable-output -stats -info-output-file - < %s | FileCheck --check-prefix=STATS %s
; RUN: opt -S -loop-unswitch -loop-unswitch-threshold 1000 -verify-loop-info -verify-dom-info < %s | FileCheck %s

Expand Down
4 changes: 0 additions & 4 deletions test/Transforms/LoopUnswitch/Stats/lit.local.cfg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt -loop-unswitch -disable-output -stats -info-output-file - < %s | FileCheck --check-prefix=STATS %s
; RUN: opt -loop-unswitch -simplifycfg -S < %s | FileCheck %s
; PR5373
Expand Down
Loading

0 comments on commit 4323665

Please sign in to comment.