diff options
| author | Jan Wen Voung <jvoung@google.com> | 2013-03-08 22:56:31 +0000 |
|---|---|---|
| committer | Jan Wen Voung <jvoung@google.com> | 2013-03-08 22:56:31 +0000 |
| commit | 7857a64909a317db9746207da633432fe15e8939 (patch) | |
| tree | 266f2310a25555b1e88ea793eb0eb820148e4120 /llvm/test/Transforms/MergeFunc | |
| parent | 51c3318b0197a3e9c37d673450e45bffcbf5e2ff (diff) | |
| download | bcm5719-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/MergeFunc')
| -rw-r--r-- | llvm/test/Transforms/MergeFunc/Stats/lit.local.cfg | 4 | ||||
| -rw-r--r-- | llvm/test/Transforms/MergeFunc/Stats/phi-speculation1.ll (renamed from llvm/test/Transforms/MergeFunc/phi-speculation1.ll) | 0 | ||||
| -rw-r--r-- | llvm/test/Transforms/MergeFunc/Stats/phi-speculation2.ll (renamed from llvm/test/Transforms/MergeFunc/phi-speculation2.ll) | 0 | ||||
| -rw-r--r-- | llvm/test/Transforms/MergeFunc/Stats/vector.ll (renamed from llvm/test/Transforms/MergeFunc/vector.ll) | 0 | ||||
| -rw-r--r-- | llvm/test/Transforms/MergeFunc/Stats/vectors-and-arrays.ll (renamed from llvm/test/Transforms/MergeFunc/vectors-and-arrays.ll) | 0 |
5 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Transforms/MergeFunc/Stats/lit.local.cfg b/llvm/test/Transforms/MergeFunc/Stats/lit.local.cfg new file mode 100644 index 00000000000..89c0cd9d487 --- /dev/null +++ b/llvm/test/Transforms/MergeFunc/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/MergeFunc/phi-speculation1.ll b/llvm/test/Transforms/MergeFunc/Stats/phi-speculation1.ll index fd0baffb310..fd0baffb310 100644 --- a/llvm/test/Transforms/MergeFunc/phi-speculation1.ll +++ b/llvm/test/Transforms/MergeFunc/Stats/phi-speculation1.ll diff --git a/llvm/test/Transforms/MergeFunc/phi-speculation2.ll b/llvm/test/Transforms/MergeFunc/Stats/phi-speculation2.ll index eec8b5c5a90..eec8b5c5a90 100644 --- a/llvm/test/Transforms/MergeFunc/phi-speculation2.ll +++ b/llvm/test/Transforms/MergeFunc/Stats/phi-speculation2.ll diff --git a/llvm/test/Transforms/MergeFunc/vector.ll b/llvm/test/Transforms/MergeFunc/Stats/vector.ll index 4af079f8cdf..4af079f8cdf 100644 --- a/llvm/test/Transforms/MergeFunc/vector.ll +++ b/llvm/test/Transforms/MergeFunc/Stats/vector.ll diff --git a/llvm/test/Transforms/MergeFunc/vectors-and-arrays.ll b/llvm/test/Transforms/MergeFunc/Stats/vectors-and-arrays.ll index dc64a0858ba..dc64a0858ba 100644 --- a/llvm/test/Transforms/MergeFunc/vectors-and-arrays.ll +++ b/llvm/test/Transforms/MergeFunc/Stats/vectors-and-arrays.ll |

