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/Analysis/RegionInfo/two_loops_same_header.ll | |
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/Analysis/RegionInfo/two_loops_same_header.ll')
-rw-r--r-- | llvm/test/Analysis/RegionInfo/two_loops_same_header.ll | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/llvm/test/Analysis/RegionInfo/two_loops_same_header.ll b/llvm/test/Analysis/RegionInfo/two_loops_same_header.ll deleted file mode 100644 index e75661e8905..00000000000 --- a/llvm/test/Analysis/RegionInfo/two_loops_same_header.ll +++ /dev/null @@ -1,46 +0,0 @@ -; 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 -; RUN: opt -regions -print-region-style=rn -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s - -define internal fastcc zeroext i8 @handle_compress() nounwind { -entry: - br label %outer - -outer: - br label %body - -body: - br i1 1, label %else, label %true77 - -true77: - br i1 1, label %then83, label %else - -then83: - br label %outer - -else: - br label %else106 - -else106: - br i1 1, label %end, label %outer - -end: - ret i8 1 -} - -; CHECK-NOT: => -; CHECK: [0] entry => <Function Return> -; CHECK-NEXT: [1] outer => end -; CHECK-NEXT: [2] outer => else - -; STAT: 3 region - The # of regions -; STAT: 1 region - The # of simple regions - -; BBIT: entry, outer, body, else, else106, end, true77, then83, -; BBIT: outer, body, else, else106, true77, then83, -; BBIT: outer, body, true77, then83, - -; RNIT: entry, outer => end, end, -; RNIT: outer => else, else, else106, -; RNIT: outer, body, true77, then83, |