summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopUnswitch
diff options
context:
space:
mode:
authorJan Wen Voung <jvoung@google.com>2013-03-08 22:56:31 +0000
committerJan Wen Voung <jvoung@google.com>2013-03-08 22:56:31 +0000
commit7857a64909a317db9746207da633432fe15e8939 (patch)
tree266f2310a25555b1e88ea793eb0eb820148e4120 /llvm/test/Transforms/LoopUnswitch
parent51c3318b0197a3e9c37d673450e45bffcbf5e2ff (diff)
downloadbcm5719-llvm-7857a64909a317db9746207da633432fe15e8939.tar.gz
bcm5719-llvm-7857a64909a317db9746207da633432fe15e8939.zip
Disable statistics on Release builds and move tests that depend on -stats.
Summary: Statistics are still available in Release+Asserts (any +Asserts builds), and stats can also be turned on with LLVM_ENABLE_STATS. Move some of the FastISel stats that were moved under DEBUG() back out of DEBUG(), since stats are disabled across the board now. Many tests depend on grepping "-stats" output. Move those into a orig_dir/Stats/. so that they can be marked as unsupported when building without statistics. Differential Revision: http://llvm-reviews.chandlerc.com/D486 llvm-svn: 176733
Diffstat (limited to 'llvm/test/Transforms/LoopUnswitch')
-rw-r--r--llvm/test/Transforms/LoopUnswitch/Stats/2008-11-03-Invariant.ll (renamed from llvm/test/Transforms/LoopUnswitch/2008-11-03-Invariant.ll)0
-rw-r--r--llvm/test/Transforms/LoopUnswitch/Stats/2011-11-18-SimpleSwitch.ll (renamed from llvm/test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll)0
-rw-r--r--llvm/test/Transforms/LoopUnswitch/Stats/2011-11-18-TwoSwitches-Threshold.ll (renamed from llvm/test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches-Threshold.ll)0
-rw-r--r--llvm/test/Transforms/LoopUnswitch/Stats/2011-11-18-TwoSwitches.ll (renamed from llvm/test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches.ll)0
-rw-r--r--llvm/test/Transforms/LoopUnswitch/Stats/infinite-loop.ll (renamed from llvm/test/Transforms/LoopUnswitch/infinite-loop.ll)0
-rw-r--r--llvm/test/Transforms/LoopUnswitch/Stats/lit.local.cfg4
6 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Transforms/LoopUnswitch/2008-11-03-Invariant.ll b/llvm/test/Transforms/LoopUnswitch/Stats/2008-11-03-Invariant.ll
index 9d73d31d504..9d73d31d504 100644
--- a/llvm/test/Transforms/LoopUnswitch/2008-11-03-Invariant.ll
+++ b/llvm/test/Transforms/LoopUnswitch/Stats/2008-11-03-Invariant.ll
diff --git a/llvm/test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll b/llvm/test/Transforms/LoopUnswitch/Stats/2011-11-18-SimpleSwitch.ll
index bde52da87ae..bde52da87ae 100644
--- a/llvm/test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll
+++ b/llvm/test/Transforms/LoopUnswitch/Stats/2011-11-18-SimpleSwitch.ll
diff --git a/llvm/test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches-Threshold.ll b/llvm/test/Transforms/LoopUnswitch/Stats/2011-11-18-TwoSwitches-Threshold.ll
index c3bf5966ad0..c3bf5966ad0 100644
--- a/llvm/test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches-Threshold.ll
+++ b/llvm/test/Transforms/LoopUnswitch/Stats/2011-11-18-TwoSwitches-Threshold.ll
diff --git a/llvm/test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches.ll b/llvm/test/Transforms/LoopUnswitch/Stats/2011-11-18-TwoSwitches.ll
index 95303337da5..95303337da5 100644
--- a/llvm/test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches.ll
+++ b/llvm/test/Transforms/LoopUnswitch/Stats/2011-11-18-TwoSwitches.ll
diff --git a/llvm/test/Transforms/LoopUnswitch/infinite-loop.ll b/llvm/test/Transforms/LoopUnswitch/Stats/infinite-loop.ll
index f3fba642f81..f3fba642f81 100644
--- a/llvm/test/Transforms/LoopUnswitch/infinite-loop.ll
+++ b/llvm/test/Transforms/LoopUnswitch/Stats/infinite-loop.ll
diff --git a/llvm/test/Transforms/LoopUnswitch/Stats/lit.local.cfg b/llvm/test/Transforms/LoopUnswitch/Stats/lit.local.cfg
new file mode 100644
index 00000000000..89c0cd9d487
--- /dev/null
+++ b/llvm/test/Transforms/LoopUnswitch/Stats/lit.local.cfg
@@ -0,0 +1,4 @@
+config.suffixes = ['.ll', '.c', '.cpp']
+
+if not config.root.enable_assertions:
+ config.unsupported = True
OpenPOWER on IntegriCloud