[LLVMbugs] [Bug 5412] New: Crash in regalloc

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Nov 6 07:18:04 PST 2009


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

           Summary: Crash in regalloc
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru
                CC: llvmbugs at cs.uiuc.edu


Consider the bytecode attached (unreduced, reduction leads to PR5411). Running
llc leads to:

$ ./llc -mcpu=cortex-a8 1.ll 
llc: /home/asl/proj/llvm/src_arm/include/llvm/CodeGen/MachineOperand.h:253:
void llvm::MachineOperand::setIsDead(bool): Assertion `isReg() && IsDef &&
"Wrong MachineOperand accessor"' failed.
0  llc             0x0000000000cb28d6
1  llc             0x0000000000cb2e72
2  libpthread.so.0 0x00007fa75fc116f0
3  libc.so.6       0x00007fa75ef4d9c5 gsignal + 53
4  libc.so.6       0x00007fa75ef4ee70 abort + 272
5  libc.so.6       0x00007fa75ef46edf __assert_fail + 239
6  llc             0x00000000004b8627 llvm::MachineOperand::setIsDead(bool) +
113
7  llc             0x0000000000a74b29
8  llc             0x0000000000a78106
9  llc             0x0000000000a7ddec
10 llc             0x0000000000a7e54e
11 llc             0x00000000009ed1af
12 llc             0x00000000009b8cb5
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 83
13 llc             0x0000000000c3595f
llvm::FPPassManager::runOnFunction(llvm::Function&) + 329
14 llc             0x0000000000c375ef
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 111
15 llc             0x0000000000c37796
llvm::FunctionPassManager::run(llvm::Function&) + 112
16 llc             0x0000000000401ec0 main + 3064
17 libc.so.6       0x00007fa75ef3aa44 __libc_start_main + 244
18 llc             0x0000000000400249
Stack dump:
0.      Program arguments: ./llc -mcpu=cortex-a8 1.ll 
1.      Running pass 'Linear Scan Register Allocator' on function '@aaa'


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