Revert the test moves from 176733. Use "REQUIRES: asserts" instead.
authorJan Wen Voung <jvoung@google.com>
Tue, 12 Mar 2013 16:27:52 +0000 (16:27 +0000)
committerJan Wen Voung <jvoung@google.com>
Tue, 12 Mar 2013 16:27:52 +0000 (16:27 +0000)
llvm-svn: 176873

87 files changed:
llvm/test/Analysis/RegionInfo/Stats/lit.local.cfg [deleted file]
llvm/test/Analysis/RegionInfo/block_sort.ll [moved from llvm/test/Analysis/RegionInfo/Stats/block_sort.ll with 98% similarity]
llvm/test/Analysis/RegionInfo/cond_loop.ll [moved from llvm/test/Analysis/RegionInfo/Stats/cond_loop.ll with 97% similarity]
llvm/test/Analysis/RegionInfo/condition_complicated.ll [moved from llvm/test/Analysis/RegionInfo/Stats/condition_complicated.ll with 98% similarity]
llvm/test/Analysis/RegionInfo/condition_complicated_2.ll [moved from llvm/test/Analysis/RegionInfo/Stats/condition_complicated_2.ll with 98% similarity]
llvm/test/Analysis/RegionInfo/condition_forward_edge.ll [moved from llvm/test/Analysis/RegionInfo/Stats/condition_forward_edge.ll with 96% similarity]
llvm/test/Analysis/RegionInfo/condition_same_exit.ll [moved from llvm/test/Analysis/RegionInfo/Stats/condition_same_exit.ll with 97% similarity]
llvm/test/Analysis/RegionInfo/condition_simple.ll [moved from llvm/test/Analysis/RegionInfo/Stats/condition_simple.ll with 97% similarity]
llvm/test/Analysis/RegionInfo/exit_in_condition.ll [moved from llvm/test/Analysis/RegionInfo/Stats/exit_in_condition.ll with 97% similarity]
llvm/test/Analysis/RegionInfo/infinite_loop.ll [moved from llvm/test/Analysis/RegionInfo/Stats/infinite_loop.ll with 95% similarity]
llvm/test/Analysis/RegionInfo/infinite_loop_2.ll [moved from llvm/test/Analysis/RegionInfo/Stats/infinite_loop_2.ll with 97% similarity]
llvm/test/Analysis/RegionInfo/infinite_loop_3.ll [moved from llvm/test/Analysis/RegionInfo/Stats/infinite_loop_3.ll with 98% similarity]
llvm/test/Analysis/RegionInfo/infinite_loop_4.ll [moved from llvm/test/Analysis/RegionInfo/Stats/infinite_loop_4.ll with 98% similarity]
llvm/test/Analysis/RegionInfo/loop_with_condition.ll [moved from llvm/test/Analysis/RegionInfo/Stats/loop_with_condition.ll with 98% similarity]
llvm/test/Analysis/RegionInfo/loops_1.ll [moved from llvm/test/Analysis/RegionInfo/Stats/loops_1.ll with 97% similarity]
llvm/test/Analysis/RegionInfo/loops_2.ll [moved from llvm/test/Analysis/RegionInfo/Stats/loops_2.ll with 98% similarity]
llvm/test/Analysis/RegionInfo/mix_1.ll [moved from llvm/test/Analysis/RegionInfo/Stats/mix_1.ll with 98% similarity]
llvm/test/Analysis/RegionInfo/nested_loops.ll [moved from llvm/test/Analysis/RegionInfo/Stats/nested_loops.ll with 97% similarity]
llvm/test/Analysis/RegionInfo/next.ll [moved from llvm/test/Analysis/RegionInfo/Stats/next.ll with 98% similarity]
llvm/test/Analysis/RegionInfo/paper.ll [moved from llvm/test/Analysis/RegionInfo/Stats/paper.ll with 98% similarity]
llvm/test/Analysis/RegionInfo/two_loops_same_header.ll [moved from llvm/test/Analysis/RegionInfo/Stats/two_loops_same_header.ll with 98% similarity]
llvm/test/CodeGen/ARM/2007-03-13-InstrSched.ll [moved from llvm/test/CodeGen/ARM/Stats/2007-03-13-InstrSched.ll with 99% similarity]
llvm/test/CodeGen/ARM/2011-12-14-machine-sink.ll [moved from llvm/test/CodeGen/ARM/Stats/2011-12-14-machine-sink.ll with 98% similarity]
llvm/test/CodeGen/ARM/Stats/lit.local.cfg [deleted file]
llvm/test/CodeGen/ARM/addrmode.ll [moved from llvm/test/CodeGen/ARM/Stats/addrmode.ll with 94% similarity]
llvm/test/CodeGen/PowerPC/Stats/lit.local.cfg [deleted file]
llvm/test/CodeGen/PowerPC/iabs.ll [moved from llvm/test/CodeGen/PowerPC/Stats/iabs.ll with 95% similarity]
llvm/test/CodeGen/PowerPC/rlwimi3.ll [moved from llvm/test/CodeGen/PowerPC/Stats/rlwimi3.ll with 98% similarity]
llvm/test/CodeGen/X86/2003-08-03-CallArgLiveRanges.ll [moved from llvm/test/CodeGen/X86/Stats/2003-08-03-CallArgLiveRanges.ll with 96% similarity]
llvm/test/CodeGen/X86/2006-03-02-InstrSchedBug.ll [moved from llvm/test/CodeGen/X86/Stats/2006-03-02-InstrSchedBug.ll with 95% similarity]
llvm/test/CodeGen/X86/2006-05-01-SchedCausingSpills.ll [moved from llvm/test/CodeGen/X86/Stats/2006-05-01-SchedCausingSpills.ll with 99% similarity]
llvm/test/CodeGen/X86/2006-05-02-InstrSched1.ll [moved from llvm/test/CodeGen/X86/Stats/2006-05-02-InstrSched1.ll with 97% similarity]
llvm/test/CodeGen/X86/2006-05-02-InstrSched2.ll [moved from llvm/test/CodeGen/X86/Stats/2006-05-02-InstrSched2.ll with 98% similarity]
llvm/test/CodeGen/X86/2006-05-11-InstrSched.ll [moved from llvm/test/CodeGen/X86/Stats/2006-05-11-InstrSched.ll with 99% similarity]
llvm/test/CodeGen/X86/2008-02-18-TailMergingBug.ll [moved from llvm/test/CodeGen/X86/Stats/2008-02-18-TailMergingBug.ll with 99% similarity]
llvm/test/CodeGen/X86/2008-10-27-CoalescerBug.ll [moved from llvm/test/CodeGen/X86/Stats/2008-10-27-CoalescerBug.ll with 98% similarity]
llvm/test/CodeGen/X86/2009-02-25-CommuteBug.ll [moved from llvm/test/CodeGen/X86/Stats/2009-02-25-CommuteBug.ll with 97% similarity]
llvm/test/CodeGen/X86/2009-02-26-MachineLICMBug.ll [moved from llvm/test/CodeGen/X86/Stats/2009-02-26-MachineLICMBug.ll with 99% similarity]
llvm/test/CodeGen/X86/2009-03-23-MultiUseSched.ll [moved from llvm/test/CodeGen/X86/Stats/2009-03-23-MultiUseSched.ll with 99% similarity]
llvm/test/CodeGen/X86/2009-04-16-SpillerUnfold.ll [moved from llvm/test/CodeGen/X86/Stats/2009-04-16-SpillerUnfold.ll with 99% similarity]
llvm/test/CodeGen/X86/2010-01-19-OptExtBug.ll [moved from llvm/test/CodeGen/X86/Stats/2010-01-19-OptExtBug.ll with 99% similarity]
llvm/test/CodeGen/X86/2011-06-12-FastAllocSpill.ll [moved from llvm/test/CodeGen/X86/Stats/2011-06-12-FastAllocSpill.ll with 98% similarity]
llvm/test/CodeGen/X86/2012-03-26-PostRALICMBug.ll [moved from llvm/test/CodeGen/X86/Stats/2012-03-26-PostRALICMBug.ll with 99% similarity]
llvm/test/CodeGen/X86/MachineSink-PHIUse.ll [moved from llvm/test/CodeGen/X86/Stats/MachineSink-PHIUse.ll with 98% similarity]
llvm/test/CodeGen/X86/Stats/lit.local.cfg [deleted file]
llvm/test/CodeGen/X86/constant-pool-remat-0.ll [moved from llvm/test/CodeGen/X86/Stats/constant-pool-remat-0.ll with 97% similarity]
llvm/test/CodeGen/X86/convert-2-addr-3-addr-inc64.ll [moved from llvm/test/CodeGen/X86/Stats/convert-2-addr-3-addr-inc64.ll with 97% similarity]
llvm/test/CodeGen/X86/dagcombine-cse.ll [moved from llvm/test/CodeGen/X86/Stats/dagcombine-cse.ll with 98% similarity]
llvm/test/CodeGen/X86/hoist-invariant-load.ll [moved from llvm/test/CodeGen/X86/Stats/hoist-invariant-load.ll with 98% similarity]
llvm/test/CodeGen/X86/licm-nested.ll [moved from llvm/test/CodeGen/X86/Stats/licm-nested.ll with 99% similarity]
llvm/test/CodeGen/X86/phi-immediate-factoring.ll [moved from llvm/test/CodeGen/X86/Stats/phi-immediate-factoring.ll with 98% similarity]
llvm/test/CodeGen/X86/pr3522.ll [moved from llvm/test/CodeGen/X86/Stats/pr3522.ll with 97% similarity]
llvm/test/CodeGen/X86/regpressure.ll [moved from llvm/test/CodeGen/X86/Stats/regpressure.ll with 99% similarity]
llvm/test/CodeGen/X86/twoaddr-coalesce-2.ll [moved from llvm/test/CodeGen/X86/Stats/twoaddr-coalesce-2.ll with 97% similarity]
llvm/test/CodeGen/X86/twoaddr-pass-sink.ll [moved from llvm/test/CodeGen/X86/Stats/twoaddr-pass-sink.ll with 98% similarity]
llvm/test/CodeGen/X86/vec_insert-6.ll [moved from llvm/test/CodeGen/X86/Stats/vec_insert-6.ll with 95% similarity]
llvm/test/CodeGen/X86/vec_shuffle-19.ll [moved from llvm/test/CodeGen/X86/Stats/vec_shuffle-19.ll with 94% similarity]
llvm/test/CodeGen/X86/vec_shuffle-20.ll [moved from llvm/test/CodeGen/X86/Stats/vec_shuffle-20.ll with 94% similarity]
llvm/test/CodeGen/X86/zero-remat.ll [moved from llvm/test/CodeGen/X86/Stats/zero-remat.ll with 97% similarity]
llvm/test/Transforms/GVN/Stats/lit.local.cfg [deleted file]
llvm/test/Transforms/GVN/nonescaping-malloc.ll [moved from llvm/test/Transforms/GVN/Stats/nonescaping-malloc.ll with 99% similarity]
llvm/test/Transforms/GlobalOpt/2009-03-05-dbg.ll [moved from llvm/test/Transforms/GlobalOpt/Stats/2009-03-05-dbg.ll with 99% similarity]
llvm/test/Transforms/GlobalOpt/Stats/lit.local.cfg [deleted file]
llvm/test/Transforms/IndVarSimplify/Stats/lit.local.cfg [deleted file]
llvm/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll [moved from llvm/test/Transforms/IndVarSimplify/Stats/phi-uses-value-multiple-times.ll with 97% similarity]
llvm/test/Transforms/Inline/Stats/lit.local.cfg [deleted file]
llvm/test/Transforms/Inline/delete-call.ll [moved from llvm/test/Transforms/Inline/Stats/delete-call.ll with 97% similarity]
llvm/test/Transforms/LICM/Stats/lit.local.cfg [deleted file]
llvm/test/Transforms/LICM/hoist-invariant-load.ll [moved from llvm/test/Transforms/LICM/Stats/hoist-invariant-load.ll with 98% similarity]
llvm/test/Transforms/LoopUnroll/Stats/lit.local.cfg [deleted file]
llvm/test/Transforms/LoopUnroll/runtime-loop3.ll [moved from llvm/test/Transforms/LoopUnroll/Stats/runtime-loop3.ll with 99% similarity]
llvm/test/Transforms/LoopUnswitch/2008-11-03-Invariant.ll [moved from llvm/test/Transforms/LoopUnswitch/Stats/2008-11-03-Invariant.ll with 97% similarity]
llvm/test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll [moved from llvm/test/Transforms/LoopUnswitch/Stats/2011-11-18-SimpleSwitch.ll with 99% similarity]
llvm/test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches-Threshold.ll [moved from llvm/test/Transforms/LoopUnswitch/Stats/2011-11-18-TwoSwitches-Threshold.ll with 99% similarity]
llvm/test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches.ll [moved from llvm/test/Transforms/LoopUnswitch/Stats/2011-11-18-TwoSwitches.ll with 99% similarity]
llvm/test/Transforms/LoopUnswitch/Stats/lit.local.cfg [deleted file]
llvm/test/Transforms/LoopUnswitch/infinite-loop.ll [moved from llvm/test/Transforms/LoopUnswitch/Stats/infinite-loop.ll with 98% similarity]
llvm/test/Transforms/MergeFunc/Stats/lit.local.cfg [deleted file]
llvm/test/Transforms/MergeFunc/phi-speculation1.ll [moved from llvm/test/Transforms/MergeFunc/Stats/phi-speculation1.ll with 96% similarity]
llvm/test/Transforms/MergeFunc/phi-speculation2.ll [moved from llvm/test/Transforms/MergeFunc/Stats/phi-speculation2.ll with 96% similarity]
llvm/test/Transforms/MergeFunc/vector.ll [moved from llvm/test/Transforms/MergeFunc/Stats/vector.ll with 99% similarity]
llvm/test/Transforms/MergeFunc/vectors-and-arrays.ll [moved from llvm/test/Transforms/MergeFunc/Stats/vectors-and-arrays.ll with 94% similarity]
llvm/test/Transforms/TailCallElim/Stats/lit.local.cfg [deleted file]
llvm/test/Transforms/TailCallElim/ackermann.ll [moved from llvm/test/Transforms/TailCallElim/Stats/ackermann.ll with 97% similarity]
llvm/test/Transforms/TailCallElim/dup_tail.ll [moved from llvm/test/Transforms/TailCallElim/Stats/dup_tail.ll with 97% similarity]
llvm/test/Transforms/TailDup/2008-06-11-AvoidDupLoopHeader.ll [moved from llvm/test/Transforms/TailDup/Stats/2008-06-11-AvoidDupLoopHeader.ll with 97% similarity]
llvm/test/Transforms/TailDup/Stats/lit.local.cfg [deleted file]

diff --git a/llvm/test/Analysis/RegionInfo/Stats/lit.local.cfg b/llvm/test/Analysis/RegionInfo/Stats/lit.local.cfg
deleted file mode 100644 (file)
index 89c0cd9..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-if not config.root.enable_assertions:
-    config.unsupported = True
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: opt -regions -analyze < %s 
 ; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
 
@@ -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
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: opt -regions -analyze < %s 
 ; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
 
@@ -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
@@ -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
 
similarity index 97%
rename from llvm/test/Analysis/RegionInfo/Stats/loops_1.ll
rename to llvm/test/Analysis/RegionInfo/loops_1.ll
index 6449949..9efe619 100644 (file)
@@ -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
similarity index 98%
rename from llvm/test/Analysis/RegionInfo/Stats/loops_2.ll
rename to llvm/test/Analysis/RegionInfo/loops_2.ll
index dc4a1ad..ca7eca7 100644 (file)
@@ -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
similarity index 98%
rename from llvm/test/Analysis/RegionInfo/Stats/mix_1.ll
rename to llvm/test/Analysis/RegionInfo/mix_1.ll
index 1474e03..55001c7 100644 (file)
@@ -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
 
@@ -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
 
similarity index 98%
rename from llvm/test/Analysis/RegionInfo/Stats/next.ll
rename to llvm/test/Analysis/RegionInfo/next.ll
index 890b4f2..b22bbcc 100644 (file)
@@ -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
similarity index 98%
rename from llvm/test/Analysis/RegionInfo/Stats/paper.ll
rename to llvm/test/Analysis/RegionInfo/paper.ll
index 96c87e0..0398d2b 100644 (file)
@@ -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
@@ -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
@@ -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 \
@@ -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"
diff --git a/llvm/test/CodeGen/ARM/Stats/lit.local.cfg b/llvm/test/CodeGen/ARM/Stats/lit.local.cfg
deleted file mode 100644 (file)
index f6194d2..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
-    config.unsupported = True
-
-if not config.root.enable_assertions:
-    config.unsupported = True
similarity index 94%
rename from llvm/test/CodeGen/ARM/Stats/addrmode.ll
rename to llvm/test/CodeGen/ARM/addrmode.ll
index 6da9089..748d258 100644 (file)
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: llc < %s -march=arm -stats 2>&1 | grep asm-printer | grep 4
 
 define i32 @t1(i32 %a) {
diff --git a/llvm/test/CodeGen/PowerPC/Stats/lit.local.cfg b/llvm/test/CodeGen/PowerPC/Stats/lit.local.cfg
deleted file mode 100644 (file)
index 2608e13..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
-    config.unsupported = True
-
-if not config.root.enable_assertions:
-    config.unsupported = True
similarity index 95%
rename from llvm/test/CodeGen/PowerPC/Stats/iabs.ll
rename to llvm/test/CodeGen/PowerPC/iabs.ll
index 7d089bb..f683238 100644 (file)
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: llc < %s -march=ppc32 -stats 2>&1 | \
 ; RUN:   grep "4 .*Number of machine instrs printed"
 
similarity index 98%
rename from llvm/test/CodeGen/PowerPC/Stats/rlwimi3.ll
rename to llvm/test/CodeGen/PowerPC/rlwimi3.ll
index 7efdbe9..31b6d4a 100644 (file)
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: llc < %s -march=ppc32 -stats 2>&1 | \
 ; RUN:   grep "Number of machine instrs printed" | grep 12
 
@@ -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
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: llc < %s -march=x86  -stats 2>&1 | \
 ; RUN:   grep asm-printer | grep 7
 
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: llc < %s -march=x86 -mcpu=yonah -stats 2>&1 | \
 ; RUN:   not grep "Number of register spills"
 ; END.
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: llc < %s -march=x86 -relocation-model=static -stats 2>&1 | \
 ; RUN:   grep asm-printer | grep 14
 ;
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: llc < %s -march=x86 -stats  2>&1 | \
 ; RUN:   grep asm-printer | grep 13
 
@@ -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
 
@@ -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
 
@@ -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.
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: llc < %s -march=x86 -mattr=+sse2 -stats 2>&1 | not grep commuted
 ; rdar://6608609
 
@@ -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
@@ -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
@@ -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
@@ -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 {
@@ -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.
@@ -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"
 
@@ -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 {
diff --git a/llvm/test/CodeGen/X86/Stats/lit.local.cfg b/llvm/test/CodeGen/X86/Stats/lit.local.cfg
deleted file mode 100644 (file)
index 1a5fd5e..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
-    config.unsupported = True
-
-if not config.root.enable_assertions:
-    config.unsupported = True
@@ -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
@@ -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
similarity index 98%
rename from llvm/test/CodeGen/X86/Stats/dagcombine-cse.ll
rename to llvm/test/CodeGen/X86/dagcombine-cse.ll
index af69531..75d3d93 100644 (file)
@@ -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  {
@@ -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"
similarity index 99%
rename from llvm/test/CodeGen/X86/Stats/licm-nested.ll
rename to llvm/test/CodeGen/X86/licm-nested.ll
index c3f991d..66074fb 100644 (file)
@@ -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
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: llc < %s -march=x86 -stats 2>&1 | grep "Number of blocks eliminated" | grep 6
 ; PR1296
 
similarity index 97%
rename from llvm/test/CodeGen/X86/Stats/pr3522.ll
rename to llvm/test/CodeGen/X86/pr3522.ll
index d8f3778..9f8dc03 100644 (file)
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: llc < %s -march=x86 -stats 2>&1 | not grep "instructions sunk"
 ; PR3522
 
similarity index 99%
rename from llvm/test/CodeGen/X86/Stats/regpressure.ll
rename to llvm/test/CodeGen/X86/regpressure.ll
index 52d7b56..1f756be 100644 (file)
@@ -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.
 
@@ -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
@@ -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  {
similarity index 95%
rename from llvm/test/CodeGen/X86/Stats/vec_insert-6.ll
rename to llvm/test/CodeGen/X86/vec_insert-6.ll
index 2a4864a..4583e19 100644 (file)
@@ -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
 
similarity index 94%
rename from llvm/test/CodeGen/X86/Stats/vec_shuffle-19.ll
rename to llvm/test/CodeGen/X86/vec_shuffle-19.ll
index b26f920..48db8de 100644 (file)
@@ -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
 
similarity index 94%
rename from llvm/test/CodeGen/X86/Stats/vec_shuffle-20.ll
rename to llvm/test/CodeGen/X86/vec_shuffle-20.ll
index b6b8ba6..5a2c444 100644 (file)
@@ -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  {
similarity index 97%
rename from llvm/test/CodeGen/X86/Stats/zero-remat.ll
rename to llvm/test/CodeGen/X86/zero-remat.ll
index 4242530..5d25a2d 100644 (file)
@@ -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
diff --git a/llvm/test/Transforms/GVN/Stats/lit.local.cfg b/llvm/test/Transforms/GVN/Stats/lit.local.cfg
deleted file mode 100644 (file)
index 89c0cd9..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-if not config.root.enable_assertions:
-    config.unsupported = True
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: opt < %s -basicaa -gvn -stats -disable-output 2>&1 | grep "Number of loads deleted"
 ; rdar://7363102
 
@@ -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]
diff --git a/llvm/test/Transforms/GlobalOpt/Stats/lit.local.cfg b/llvm/test/Transforms/GlobalOpt/Stats/lit.local.cfg
deleted file mode 100644 (file)
index 89c0cd9..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-if not config.root.enable_assertions:
-    config.unsupported = True
diff --git a/llvm/test/Transforms/IndVarSimplify/Stats/lit.local.cfg b/llvm/test/Transforms/IndVarSimplify/Stats/lit.local.cfg
deleted file mode 100644 (file)
index 89c0cd9..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-if not config.root.enable_assertions:
-    config.unsupported = True
@@ -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.
diff --git a/llvm/test/Transforms/Inline/Stats/lit.local.cfg b/llvm/test/Transforms/Inline/Stats/lit.local.cfg
deleted file mode 100644 (file)
index 89c0cd9..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-if not config.root.enable_assertions:
-    config.unsupported = True
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: opt -S -inline -stats < %s 2>&1 | FileCheck %s
 ; CHECK: Number of functions inlined
 
diff --git a/llvm/test/Transforms/LICM/Stats/lit.local.cfg b/llvm/test/Transforms/LICM/Stats/lit.local.cfg
deleted file mode 100644 (file)
index 89c0cd9..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-if not config.root.enable_assertions:
-    config.unsupported = True
@@ -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
diff --git a/llvm/test/Transforms/LoopUnroll/Stats/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/Stats/lit.local.cfg
deleted file mode 100644 (file)
index 89c0cd9..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-if not config.root.enable_assertions:
-    config.unsupported = True
@@ -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
@@ -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 {
@@ -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
 
@@ -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
 
@@ -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
 
diff --git a/llvm/test/Transforms/LoopUnswitch/Stats/lit.local.cfg b/llvm/test/Transforms/LoopUnswitch/Stats/lit.local.cfg
deleted file mode 100644 (file)
index 89c0cd9..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-if not config.root.enable_assertions:
-    config.unsupported = True
@@ -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
diff --git a/llvm/test/Transforms/MergeFunc/Stats/lit.local.cfg b/llvm/test/Transforms/MergeFunc/Stats/lit.local.cfg
deleted file mode 100644 (file)
index 89c0cd9..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-if not config.root.enable_assertions:
-    config.unsupported = True
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: opt < %s -mergefunc -stats -disable-output 2>&1 | not grep "functions merged"
 
 define i32 @foo1(i32 %x) {
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: opt < %s -mergefunc -stats -disable-output 2>&1 | grep "functions merged"
 
 define i32 @foo1(i32 %x) {
similarity index 99%
rename from llvm/test/Transforms/MergeFunc/Stats/vector.ll
rename to llvm/test/Transforms/MergeFunc/vector.ll
index 4af079f..dba5fa3 100644 (file)
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: opt -mergefunc -stats -disable-output < %s 2>&1 | grep "functions merged"
 
 ; This test is checks whether we can merge
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: opt -mergefunc < %s -disable-output -stats | not grep merged
 ; This used to crash with an assert.
 
diff --git a/llvm/test/Transforms/TailCallElim/Stats/lit.local.cfg b/llvm/test/Transforms/TailCallElim/Stats/lit.local.cfg
deleted file mode 100644 (file)
index 89c0cd9..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-if not config.root.enable_assertions:
-    config.unsupported = True
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; This function contains two tail calls, which should be eliminated
 ; RUN: opt < %s -tailcallelim -stats -disable-output 2>&1 | grep "2 tailcallelim"
 
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; Duplicate the return into if.end to enable TCE.
 ; RUN: opt -tailcallelim -stats -disable-output < %s 2>&1 | FileCheck %s
 
diff --git a/llvm/test/Transforms/TailDup/Stats/lit.local.cfg b/llvm/test/Transforms/TailDup/Stats/lit.local.cfg
deleted file mode 100644 (file)
index 89c0cd9..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-if not config.root.enable_assertions:
-    config.unsupported = True