[LLVMbugs] [Bug 12444] New: MachineBasicBlock.cpp failed assertion 'isInsideBundle' everywhere

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 3 00:43:47 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=12444

             Bug #: 12444
           Summary: MachineBasicBlock.cpp failed assertion
                    'isInsideBundle' everywhere
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: fang at csl.cornell.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Building svn-trunk (3.1), r153893 on powerpc-darwin8, using g++-4.0.1
test log:
http://www.csl.cornell.edu/~fang/sw/llvm/logs/llvm-clang-r153893-powerpc-darwin8-g++-4.0.1-check-all.log

This is the first time I ENABLE_ASSERTIONS:ON, previous runs left it OFF by
accident.  I now get thousands of assertion-failing tests, but the vast majoriy
of failures look like:

FAIL: LLVM :: CodeGen/X86/Atomics-64.ll (2199 of 5845)
******************** TEST 'LLVM :: CodeGen/X86/Atomics-64.ll' FAILED
********************
Script:
--
gtimeout 5m  /Users/fang/local/src/LLVM-svn/gcc40-cmake-build/bin/./llc <
/Volumes/Isolde/sources/LLVM-svn/llvm/test/CodeGen/X86/Atomics-64.ll
-march=x86-64 >
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/test/CodeGen/X86/Output/Atomics-64.ll.tmp
gtimeout 5m  /Users/fang/local/src/LLVM-svn/gcc40-cmake-build/bin/./llc <
/Volumes/Isolde/sources/LLVM-svn/llvm/test/CodeGen/X86/Atomics-64.ll -march=x86
>
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/test/CodeGen/X86/Output/Atomics-64.ll.tmp
--
Exit Code: 134
Command Output (stderr):
--
/Users/fang/local/src/LLVM-svn/llvm/lib/CodeGen/MachineBasicBlock.cpp:147:
failed assertion `!I->isInsideBundle() && "First non-phi MI cannot be inside a
bundle!"'
Stack dump:
0.    Program arguments:
/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/bin/./llc -march=x86-64 
1.    Running pass 'Function Pass Manager' on module '<stdin>'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function
'@test_op_ignore'
--

********************


or 


FAIL: LLVM :: CodeGen/X86/GC/alloc_loop.ll (2203 of 5845)
******************** TEST 'LLVM :: CodeGen/X86/GC/alloc_loop.ll' FAILED
********************
Script:
--
gtimeout 5m  /Users/fang/local/src/LLVM-svn/gcc40-cmake-build/bin/./llc <
/Volumes/Isolde/sources/LLVM-svn/llvm/test/CodeGen/X86/GC/alloc_loop.ll
--
Exit Code: 134
Command Output (stderr):
--
/Users/fang/local/src/LLVM-svn/llvm/include/llvm/CodeGen/MachineBasicBlock.h:148:
failed assertion `!MII->isInsideBundle() && "It's not legal to initialize
bundle_iterator with a bundled MI"'
Stack dump:
0.    Program arguments:
/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/bin/./llc 
1.    Running pass 'Function Pass Manager' on module '<stdin>'.
2.    Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function
'@main'
--

********************


Those two assertions kill most codegen tests, resulting in catastrophic
failure.
Any idea how to debug, or how I can help debug?  where I should look?

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list