[LLVMbugs] [Bug 15053] New: Assertion in scheduler

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 23 07:09:39 PST 2013


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

             Bug #: 15053
           Summary: Assertion in scheduler
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9914
  --> http://llvm.org/bugs/attachment.cgi?id=9914
Testcase

Consider the attached testcase. Running llc yields:

Assertion failed: (Node2Index[SU->NodeNum] > Node2Index[I->getSUnit()->NodeNum]
&& "Wrong topological sorting"), function InitDAGTopologicalSorting, file
/Users/asl/Projects/llvm/2commit/llvm/lib/CodeGen/ScheduleDAG.cpp, line 500.
0  llc               0x000000010b3adade llvm::sys::PrintStackTrace(__sFILE*) +
46
1  llc               0x000000010b3addeb _ZL28PrintStackTraceSignalHandlerPv +
27
2  llc               0x000000010b3ae0f9 _ZL13SignalHandleri + 297
3  libsystem_c.dylib 0x00007fff8f0a7cfa _sigtramp + 26
4  libsystem_c.dylib 0x00000400868e5816 _sigtramp + 18446607738420321078
5  llc               0x000000010b3ade1b raise + 27
6  llc               0x000000010b3aded2 abort + 18
7  llc               0x000000010b3adeb1 __assert_rtn + 129
8  llc               0x000000010aed89a2
llvm::ScheduleDAGTopologicalSort::InitDAGTopologicalSorting() + 1074
9  llc               0x000000010ab6c08d (anonymous
namespace)::ScheduleDAGRRList::Schedule() + 589
10 llc               0x000000010ab75cbd
llvm::ScheduleDAGSDNodes::Run(llvm::SelectionDAG*, llvm::MachineBasicBlock*) +
93
11 llc               0x000000010ac2598c
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 3612
12 llc               0x000000010ac24b5d
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 253
13 llc               0x000000010ac249dc
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 3276
14 llc               0x000000010ac23075
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 917
15 llc               0x000000010adeab7e
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 110
16 llc               0x000000010b3123cf
llvm::FPPassManager::runOnFunction(llvm::Function&) + 431
17 llc               0x000000010b3126b8
llvm::FPPassManager::runOnModule(llvm::Module&) + 104
18 llc               0x000000010b312aba
llvm::MPPassManager::runOnModule(llvm::Module&) + 634
19 llc               0x000000010b3132de
llvm::PassManagerImpl::run(llvm::Module&) + 302
20 llc               0x000000010b313581 llvm::PassManager::run(llvm::Module&) +
33
21 llc               0x000000010a6d92ab
_ZL13compileModulePPcRN4llvm11LLVMContextE + 4843

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