From 7857a64909a317db9746207da633432fe15e8939 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 llvm-svn: 176733 --- llvm/test/CodeGen/X86/dagcombine-cse.ll | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 llvm/test/CodeGen/X86/dagcombine-cse.ll (limited to 'llvm/test/CodeGen/X86/dagcombine-cse.ll') diff --git a/llvm/test/CodeGen/X86/dagcombine-cse.ll b/llvm/test/CodeGen/X86/dagcombine-cse.ll deleted file mode 100644 index af69531246c..00000000000 --- a/llvm/test/CodeGen/X86/dagcombine-cse.ll +++ /dev/null @@ -1,27 +0,0 @@ -; RUN: llc < %s -march=x86 -mattr=+sse2 -mtriple=i386-apple-darwin -stats 2>&1 | grep asm-printer | grep 14 - -define i32 @t(i8* %ref_frame_ptr, i32 %ref_frame_stride, i32 %idxX, i32 %idxY) nounwind { -entry: - %tmp7 = mul i32 %idxY, %ref_frame_stride ; [#uses=2] - %tmp9 = add i32 %tmp7, %idxX ; [#uses=1] - %tmp11 = getelementptr i8* %ref_frame_ptr, i32 %tmp9 ; [#uses=1] - %tmp1112 = bitcast i8* %tmp11 to i32* ; [#uses=1] - %tmp13 = load i32* %tmp1112, align 4 ; [#uses=1] - %tmp18 = add i32 %idxX, 4 ; [#uses=1] - %tmp20.sum = add i32 %tmp18, %tmp7 ; [#uses=1] - %tmp21 = getelementptr i8* %ref_frame_ptr, i32 %tmp20.sum ; [#uses=1] - %tmp2122 = bitcast i8* %tmp21 to i16* ; [#uses=1] - %tmp23 = load i16* %tmp2122, align 2 ; [#uses=1] - %tmp2425 = zext i16 %tmp23 to i64 ; [#uses=1] - %tmp26 = shl i64 %tmp2425, 32 ; [#uses=1] - %tmp2728 = zext i32 %tmp13 to i64 ; [#uses=1] - %tmp29 = or i64 %tmp26, %tmp2728 ; [#uses=1] - %tmp3454 = bitcast i64 %tmp29 to double ; [#uses=1] - %tmp35 = insertelement <2 x double> undef, double %tmp3454, i32 0 ; <<2 x double>> [#uses=1] - %tmp36 = insertelement <2 x double> %tmp35, double 0.000000e+00, i32 1 ; <<2 x double>> [#uses=1] - %tmp42 = bitcast <2 x double> %tmp36 to <8 x i16> ; <<8 x i16>> [#uses=1] - %tmp43 = shufflevector <8 x i16> %tmp42, <8 x i16> undef, <8 x i32> < i32 0, i32 1, i32 1, i32 2, i32 4, i32 5, i32 6, i32 7 > ; <<8 x i16>> [#uses=1] - %tmp47 = bitcast <8 x i16> %tmp43 to <4 x i32> ; <<4 x i32>> [#uses=1] - %tmp48 = extractelement <4 x i32> %tmp47, i32 0 ; [#uses=1] - ret i32 %tmp48 -} -- cgit v1.2.3