From fa785cb22d50c657eb08c762d627cd6aa96982f3 Mon Sep 17 00:00:00 2001 From: Jan Wen Voung Date: Fri, 8 Mar 2013 22:56:31 +0000 Subject: 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 --- test/CodeGen/X86/2009-02-26-MachineLICMBug.ll | 56 --------------------------- 1 file changed, 56 deletions(-) delete mode 100644 test/CodeGen/X86/2009-02-26-MachineLICMBug.ll (limited to 'test/CodeGen/X86/2009-02-26-MachineLICMBug.ll') diff --git a/test/CodeGen/X86/2009-02-26-MachineLICMBug.ll b/test/CodeGen/X86/2009-02-26-MachineLICMBug.ll deleted file mode 100644 index d50fe6f73a..0000000000 --- a/test/CodeGen/X86/2009-02-26-MachineLICMBug.ll +++ /dev/null @@ -1,56 +0,0 @@ -; RUN: llc < %s -march=x86-64 -mattr=+sse3,+sse41 -mcpu=penryn -stats 2>&1 | grep "5 machine-licm" -; RUN: llc < %s -march=x86-64 -mattr=+sse3,+sse41 -mcpu=penryn | FileCheck %s -; rdar://6627786 -; rdar://7792037 - -target triple = "x86_64-apple-darwin10.0" - %struct.Key = type { i64 } - %struct.__Rec = type opaque - %struct.__vv = type { } - -define %struct.__vv* @t(%struct.Key* %desc, i64 %p) nounwind ssp { -entry: - br label %bb4 - -bb4: ; preds = %bb.i, %bb26, %bb4, %entry -; CHECK: %bb4 -; CHECK: xorb -; CHECK: callq -; CHECK: movq -; CHECK: xorl -; CHECK: xorb - - %0 = call i32 (...)* @xxGetOffsetForCode(i32 undef) nounwind ; [#uses=0] - %ins = or i64 %p, 2097152 ; [#uses=1] - %1 = call i32 (...)* @xxCalculateMidType(%struct.Key* %desc, i32 0) nounwind ; [#uses=1] - %cond = icmp eq i32 %1, 1 ; [#uses=1] - br i1 %cond, label %bb26, label %bb4 - -bb26: ; preds = %bb4 - %2 = and i64 %ins, 15728640 ; [#uses=1] - %cond.i = icmp eq i64 %2, 1048576 ; [#uses=1] - br i1 %cond.i, label %bb.i, label %bb4 - -bb.i: ; preds = %bb26 - %3 = load i32* null, align 4 ; [#uses=1] - %4 = uitofp i32 %3 to float ; [#uses=1] - %.sum13.i = add i64 0, 4 ; [#uses=1] - %5 = getelementptr i8* null, i64 %.sum13.i ; [#uses=1] - %6 = bitcast i8* %5 to i32* ; [#uses=1] - %7 = load i32* %6, align 4 ; [#uses=1] - %8 = uitofp i32 %7 to float ; [#uses=1] - %.sum.i = add i64 0, 8 ; [#uses=1] - %9 = getelementptr i8* null, i64 %.sum.i ; [#uses=1] - %10 = bitcast i8* %9 to i32* ; [#uses=1] - %11 = load i32* %10, align 4 ; [#uses=1] - %12 = uitofp i32 %11 to float ; [#uses=1] - %13 = insertelement <4 x float> undef, float %4, i32 0 ; <<4 x float>> [#uses=1] - %14 = insertelement <4 x float> %13, float %8, i32 1 ; <<4 x float>> [#uses=1] - %15 = insertelement <4 x float> %14, float %12, i32 2 ; <<4 x float>> [#uses=1] - store <4 x float> %15, <4 x float>* null, align 16 - br label %bb4 -} - -declare i32 @xxGetOffsetForCode(...) - -declare i32 @xxCalculateMidType(...) -- cgit v1.2.3-18-g5258