summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IndVarSimplify
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/IndVarSimplify
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/IndVarSimplify')
-rw-r--r--llvm/test/Transforms/IndVarSimplify/Stats/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/IndVarSimplify/Stats/phi-uses-value-multiple-times.ll (renamed from llvm/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll)0
2 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/Stats/lit.local.cfg b/llvm/test/Transforms/IndVarSimplify/Stats/lit.local.cfg
new file mode 100644
index 00000000000..89c0cd9d487
--- /dev/null
+++ b/llvm/test/Transforms/IndVarSimplify/Stats/lit.local.cfg
@@ -0,0 +1,4 @@
+config.suffixes = ['.ll', '.c', '.cpp']
+
+if not config.root.enable_assertions:
+ config.unsupported = True
diff --git a/llvm/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll b/llvm/test/Transforms/IndVarSimplify/Stats/phi-uses-value-multiple-times.ll
index 52c9e5c3ffc..52c9e5c3ffc 100644
--- a/llvm/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll
+++ b/llvm/test/Transforms/IndVarSimplify/Stats/phi-uses-value-multiple-times.ll
OpenPOWER on IntegriCloud