[LLVMbugs] [Bug 9509] New: Scheduler crash with patch from r127852

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 18 15:28:11 PDT 2011


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

           Summary: Scheduler crash with patch from r127852
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=6344)
 --> (http://llvm.org/bugs/attachment.cgi?id=6344)
Testcase

With the now-reverted r127852, there is a crash running "llc -mcpu=i686
genfs_io.bc" over the attached.  Having trouble reducing it.  Crash is as
follows:

llc: ScheduleDAGSDNodes.cpp:67: llvm::SUnit*
llvm::ScheduleDAGSDNodes::NewSUnit(llvm::SDNode*): Assertion `(Addr == 0 ||
Addr == &SUnits[0]) && "SUnits std::vector reallocated on the fly!"' failed.
0  llc             0x0000000000e5224f
1  llc             0x0000000000e544c2
2  libpthread.so.0 0x00007f80dd2708f0
3  libc.so.6       0x00007f80dc55fa75 gsignal + 53
4  libc.so.6       0x00007f80dc5635c0 abort + 384
5  libc.so.6       0x00007f80dc558941 __assert_fail + 241
6  llc             0x0000000000919203
7  llc             0x0000000000912fc7
8  llc             0x0000000000914d83
9  llc             0x000000000091507f
10 llc             0x0000000000b1f9e2
llvm::ScheduleDAG::Run(llvm::MachineBasicBlock*,
llvm::ilist_iterator<llvm::MachineInstr>) + 1746
11 llc             0x000000000098f936
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 1398
12 llc             0x0000000000991dc6
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 262
13 llc             0x000000000099277a
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 2426
14 llc             0x0000000000993f79
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 1033
15 llc             0x0000000000da6e4b
llvm::FPPassManager::runOnFunction(llvm::Function&) + 587
16 llc             0x0000000000da6f4b
llvm::FPPassManager::runOnModule(llvm::Module&) + 75
17 llc             0x0000000000da6947
llvm::MPPassManager::runOnModule(llvm::Module&) + 503
18 llc             0x0000000000da6adb llvm::PassManagerImpl::run(llvm::Module&)
+ 187
19 llc             0x0000000000551c5d main + 4781
20 libc.so.6       0x00007f80dc54ac4d __libc_start_main + 253
21 llc             0x000000000054fd99
Stack dump:
0.    Program arguments: llc -mcpu=i686 genfs_io.bc 
1.    Running pass 'Function Pass Manager' on module 'genfs_io.bc'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function
'@genfs_getpages'
Aborted

-- 
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