[LLVMdev] make check-all failing 18 tests with --enable-optimized

Csaba Raduly rcsaba at gmail.com
Tue Dec 13 00:41:44 PST 2011


On Tue, Dec 13, 2011 at 3:26 AM, Brendan Kirby  wrote:
> As part of our automated testing, I'm running make check-all to watch
> for failures.  One of my builds uses the --enable-optimized option to
> configure. When I build the latest trunk, I'm now seeing 18 failing
> tests:
>    Clang :: Preprocessor/macro_paste_c_block_comment.c
>    LLVM :: CodeGen/ARM/2011-05-04-MultipleLandingPadSuccs.ll
>    LLVM :: CodeGen/ARM/2011-11-14-EarlyClobber.ll
>    LLVM :: CodeGen/ARM/lsr-unfolded-offset.ll
>    LLVM :: CodeGen/Generic/2003-05-28-ManyArgs.ll
>    LLVM :: CodeGen/Generic/print-arith-fp.ll
>    LLVM :: CodeGen/Thumb/2009-08-20-ISelBug.ll
>    LLVM :: CodeGen/Thumb/asmprinter-bug.ll
>    LLVM :: CodeGen/X86/2006-10-13-CycleInDAG.ll
>    LLVM :: CodeGen/X86/2008-02-08-LoadFoldingBug.ll
>    LLVM :: CodeGen/X86/2009-09-10-SpillComments.ll
>    LLVM :: CodeGen/X86/2010-02-19-TailCallRetAddrBug.ll
>    LLVM :: CodeGen/X86/2010-04-13-AnalyzeBranchCrash.ll
>    LLVM :: CodeGen/X86/2011-10-11-SpillDead.ll
>    LLVM :: CodeGen/X86/2011-10-12-MachineCSE.ll
>    LLVM :: CodeGen/X86/2011-11-09-FoldImpDefs.ll
>    LLVM :: CodeGen/X86/Atomics-64.ll
>    LLVM :: CodeGen/X86/fold-pcmpeqd-2.ll
>
> 17 of these tests started failing with the commit r145975, "First chunk
> of MachineInstr bundle support." on 12/6/2011.  I've verified that the
> tests pass with commit r145974.
>
> The build is running on a CentOS 5.6 machine with gcc version 4.1.2.
> The build process is basically:
> git clone http://llvm.org/git/llvm.git source
> git clone http://llvm.org/git/clang.git source/tools/clang
> mkdir build
> cd build
> ../source/configure --prefix=$(dirname $PWD)/install --enable-optimized
> make
> make check-all
>
> Is anyone else seeing this?  Or are these tests known to fail in trunk
> right now?

Hi Brendan,
Have you tried with -O2 instead of -O3 ?

$ svn diff ../llvm/configure
Index: ../llvm/configure
===================================================================
--- ../llvm/configure   (revision 146364)
+++ ../llvm/configure   (working copy)
@@ -5441,7 +5441,7 @@
     case "$llvm_cv_os_type" in
     FreeBSD) optimize_option=-O2 ;;
     MingW) optimize_option=-O2 ;;
-    *)     optimize_option=-O3 ;;
+    *)     optimize_option=-O2 ;;
     esac ;;
   *) optimize_option="$withval" ;;
 esac

-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds




More information about the llvm-dev mailing list