[LLVMbugs] [Bug 7172] New: UNREACHABLE hit in Live Interval Analysis

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 19 09:34:54 PDT 2010


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

           Summary: UNREACHABLE hit in Live Interval Analysis
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jvoung at google.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4908)
 --> (http://llvm.org/bugs/attachment.cgi?id=4908)
403.gcc reduced test case

running llc with arguments:
llc 403.gcc.linked.bc -tool-args -asm-verbose=false -O0
on revision 104079 results in a crash:

0  llc             0x0000000000af55ff
1  llc             0x0000000000af5d7a
2  libpthread.so.0 0x00007f07e89ca7d0
3  libc.so.6       0x00007f07e7ae6095 gsignal + 53
4  libc.so.6       0x00007f07e7ae7af0 abort + 272
5  llc             0x0000000000ad51b2 llvm::llvm_unreachable_internal(char
const*, char const*, unsigned int) + 370
6  llc             0x00000000008863c6
llvm::LiveIntervals::handleVirtualRegisterDef(llvm::MachineBasicBlock*,
llvm::ilist_iterator<llvm::MachineInstr>, llvm::SlotIndex,
llvm::MachineOperand&, unsigned int, llvm::LiveInterval&) + 3910
7  llc             0x00000000008883c9
llvm::LiveIntervals::handleRegisterDef(llvm::MachineBasicBlock*,
llvm::ilist_iterator<llvm::MachineInstr>, llvm::SlotIndex,
llvm::MachineOperand&, unsigned int) + 409
8  llc             0x000000000088ad80 llvm::LiveIntervals::computeIntervals() +
2496
9  llc             0x000000000088b50f
llvm::LiveIntervals::runOnMachineFunction(llvm::MachineFunction&) + 447
10 llc             0x00000000007b3113
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 115
11 llc             0x0000000000a7a740
llvm::FPPassManager::runOnFunction(llvm::Function&) + 688
12 llc             0x0000000000a7a793
llvm::FPPassManager::runOnModule(llvm::Module&) + 67
13 llc             0x0000000000a7a2e3
llvm::MPPassManager::runOnModule(llvm::Module&) + 515
14 llc             0x0000000000a7a3c2 llvm::PassManagerImpl::run(llvm::Module&)
+ 114
15 llc             0x0000000000a7a45d llvm::PassManager::run(llvm::Module&) +
13
16 llc             0x00000000004d3122 main + 2802
17 libc.so.6       0x00007f07e7ad21c4 __libc_start_main + 244
18 llc             0x00000000004d0b19
Stack dump:
0.    Program arguments: Release+Debug-Asserts/bin/llc -asm-verbose=false -O0
-o bugpoint-test-program.bc.llc.s bugpoint-test-program.bc 
1.    Running pass 'Function Pass Manager' on module
'bugpoint-test-program.bc'.
2.    Running pass 'Live Interval Analysis' on function '@nonlocal_mentioned_p'


Reduced test case attached.

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