[LLVMbugs] [Bug 4034] New: Colescer crash
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Apr 22 10:51:51 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4034
Summary: Colescer crash
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: evan.cheng at apple.com, gohman at apple.com,
llvmbugs at cs.uiuc.edu
Created an attachment (id=2854)
--> (http://llvm.org/bugs/attachment.cgi?id=2854)
Bitcode
Consider the attached bitcode. Running llc yields:
$ ./llc bugpoint-reduced-function.bc
llc: /home/asl/proj/llvm/src/lib/CodeGen/SimpleRegisterCoalescing.cpp:115: bool
llvm::SimpleRegisterCoalescing::AdjustCopiesBackFrom(llvm::LiveInterval&,
llvm::LiveInterval&, llvm::MachineInstr*): Assertion `BValNo->def == CopyIdx &&
"Copy doesn't define the value?"' failed.
0 llc 0x0000000000e2860f
1 llc 0x0000000000e28c8a
2 libpthread.so.0 0x00007f3100592390
3 libc.so.6 0x00007f30ff8d45c5 gsignal + 53
4 libc.so.6 0x00007f30ff8d5a70 abort + 272
5 libc.so.6 0x00007f30ff8cda3f __assert_fail + 239
6 llc 0x0000000000c1f1ec
llvm::SimpleRegisterCoalescing::AdjustCopiesBackFrom(llvm::LiveInterval&,
llvm::LiveInterval&, llvm::MachineInstr*) + 972
7 llc 0x0000000000c2527f
llvm::SimpleRegisterCoalescing::JoinCopy(llvm::CopyRec&, bool&) + 11311
8 llc 0x0000000000c26b54
llvm::SimpleRegisterCoalescing::joinIntervals() + 724
9 llc 0x0000000000c287dd
llvm::SimpleRegisterCoalescing::runOnMachineFunction(llvm::MachineFunction&) +
5389
10 llc 0x0000000000bb3b45
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 53
11 llc 0x0000000000db9235
llvm::FPPassManager::runOnFunction(llvm::Function&) + 565
12 llc 0x0000000000db9658
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 136
13 llc 0x0000000000db9846
llvm::FunctionPassManager::run(llvm::Function&) + 70
14 llc 0x0000000000502363 main + 2627
15 libc.so.6 0x00007f30ff8c15e4 __libc_start_main + 244
16 llc 0x00000000004ffa29
Stack dump:
0. Program arguments: ./llc bugpoint-reduced-function.bc
1. Running pass 'Simple Register Coalescing' on function
'@getAffNeighbour'
--
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