[LLVMbugs] [Bug 7484] New: assertion "Node already inserted!" building MallocBench test for ARM

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 24 11:27:04 PDT 2010


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

           Summary: assertion "Node already inserted!" building
                    MallocBench test for ARM
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: bob.wilson at apple.com
                CC: llvmbugs at cs.uiuc.edu


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

MultiSource/Benchmarks/MallocBench/gs/gs failed to compile with an assertion:


Assertion failed: (N->getNodeId() == -1 && "Node already inserted!"), function
BuildSchedUnits, file
/Users/bwilson/local/alt/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp,
line 297.
0  llc               0x00000001008e2b86 PrintStackTrace(void*) + 381  llc      
        0x00000001008e3094 SignalHandler(int) + 254
2  libSystem.B.dylib 0x00007fff831bb35a _sigtramp + 263  libSystem.B.dylib
000000000000000000 _sigtramp + 2095336640
4  libSystem.B.dylib 0x00007fff832369b4 __pthread_markcancel + 05  llc         
     0x000000010043042c llvm::ScheduleDAGSDNodes::BuildSchedUnit
s() + 5686  llc               0x0000000100431088
llvm::ScheduleDAGSDNodes::BuildSchedGrap
h(llvm::AliasAnalysis*) + 347  llc               0x00000001004293ec (anonymous
namespace)::ScheduleDAGRRList
::Schedule() + 1988  llc               0x0000000100607269
llvm::ScheduleDAG::Run(llvm::MachineBasi
cBlock*, llvm::ilist_iterator<llvm::MachineInstr>) + 2239  llc              
0x00000001004310cc llvm::ScheduleDAGSDNodes::Run(llvm::Sele
ctionDAG*, llvm::MachineBasicBlock*, llvm::ilist_iterator<llvm::MachineInstr>)
+
 56
10 llc               0x00000001004b29c8
llvm::SelectionDAGISel::CodeGenAndEmitDA
G(llvm::MachineBasicBlock*) + 3164
11 llc               0x00000001004b40a2
llvm::SelectionDAGISel::SelectBasicBlock(llvm::MachineBasicBlock*,
llvm::BasicBlock const*, llvm::ilist_iterator<llvm::I
nstruction const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 242
12 llc               0x00000001004b45d0
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1324
13 llc               0x00000001004b4a26
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 746
14 llc               0x0000000100590667
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 85
15 llc               0x000000010085f79e
llvm::FPPassManager::runOnFunction(llvm::Function&) + 348
16 llc               0x000000010085f971
llvm::FPPassManager::runOnModule(llvm::Module&) + 81
17 llc               0x000000010085f470
llvm::MPPassManager::runOnModule(llvm::Module&) + 384
18 llc               0x0000000100860c19
llvm::PassManagerImpl::run(llvm::Module&) + 111
19 llc               0x0000000100860c7b llvm::PassManager::run(llvm::Module&) +
33
20 llc               0x000000010002ae2b main + 2143
21 llc               0x0000000100029dd4 start + 52
22 llc               0x0000000000000007 start + 4294795879

Reduced testcase attached.
Reproduce with:
llc -O3 -mcpu cortex-a8 -relocation-model pic < bugpoint-reduced-simplified.bc

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