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 | fa785cb22d50c657eb08c762d627cd6aa96982f3 (patch) | |
tree | 8cf730a27cbe3d59e14adb2e0e2ed6d3f836850b /test/Transforms/MergeFunc/phi-speculation1.ll | |
parent | d25c05efd55fe190a50965b31e04db69bd8e19de (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176733 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/MergeFunc/phi-speculation1.ll')
-rw-r--r-- | test/Transforms/MergeFunc/phi-speculation1.ll | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/test/Transforms/MergeFunc/phi-speculation1.ll b/test/Transforms/MergeFunc/phi-speculation1.ll deleted file mode 100644 index fd0baffb31..0000000000 --- a/test/Transforms/MergeFunc/phi-speculation1.ll +++ /dev/null @@ -1,29 +0,0 @@ -; RUN: opt < %s -mergefunc -stats -disable-output 2>&1 | not grep "functions merged" - -define i32 @foo1(i32 %x) { -entry: - %A = add i32 %x, 1 - %B = call i32 @foo1(i32 %A) - br label %loop -loop: - %C = phi i32 [%B, %entry], [%D, %loop] - %D = add i32 %x, 2 - %E = icmp ugt i32 %D, 10000 - br i1 %E, label %loopexit, label %loop -loopexit: - ret i32 %D -} - -define i32 @foo2(i32 %x) { -entry: - %0 = add i32 %x, 1 - %1 = call i32 @foo2(i32 %0) - br label %loop -loop: - %2 = phi i32 [%1, %entry], [%3, %loop] - %3 = add i32 %2, 2 - %4 = icmp ugt i32 %3, 10000 - br i1 %4, label %loopexit, label %loop -loopexit: - ret i32 %3 -} |