[LLVMbugs] [Bug 11378] New: Assertion failed: (isMetadata() && "Wrong MachineOperand accessor")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 14 16:34:21 PST 2011


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

             Bug #: 11378
           Summary: Assertion failed: (isMetadata() && "Wrong
                    MachineOperand accessor")
           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: dpatel at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


$llc -O0 /tmp/cplus-dem.ll -o /tmp/cplus-dem.s
Assertion failed: (isMetadata() && "Wrong MachineOperand accessor"), function
getMetadata, file /Users/Work/llvm/include/llvm/CodeGen/MachineOperand.h, line
416.
0  llc               0x0000000100ec8055 PrintStackTrace(void*) + 53
1  llc               0x0000000100ec870b SignalHandler(int) + 379
2  libSystem.B.dylib 0x00007fff8a58f1ba _sigtramp + 26
3  libSystem.B.dylib 0x000000010324d2b8 _sigtramp + 2026627352
4  llc               0x0000000100ec83db raise + 27
5  llc               0x0000000100ec849a abort + 26
6  llc               0x0000000100ec8474 __assert_rtn + 132
7  llc               0x0000000100160989 llvm::MachineOperand::getMetadata()
const + 105
8  llc               0x00000001009c92b4 (anonymous
namespace)::RAFast::spillVirtReg(llvm::ilist_iterator<llvm::MachineInstr>,
llvm::DenseMapIterator<unsigned int, (anonymous namespace)::RAFast::LiveReg,
llvm::DenseMapInfo<unsigned int>, llvm::DenseMapInfo<(anonymous
namespace)::RAFast::LiveReg>, false>) + 1204
9  llc               0x00000001009c6cf1 (anonymous
namespace)::RAFast::spillAll(llvm::MachineInstr*) + 273
10 llc               0x00000001009c48e3 (anonymous
namespace)::RAFast::AllocateBasicBlock() + 8067
11 llc               0x00000001009c27f9 (anonymous
namespace)::RAFast::runOnMachineFunction(llvm::MachineFunction&) + 489
12 llc               0x0000000100949080
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 112
13 llc               0x0000000100e26071
llvm::FPPassManager::runOnFunction(llvm::Function&) + 513
14 llc               0x0000000100e26403
llvm::FPPassManager::runOnModule(llvm::Module&) + 131
15 llc               0x0000000100e266a2
llvm::MPPassManager::runOnModule(llvm::Module&) + 530
16 llc               0x0000000100e26ebb
llvm::PassManagerImpl::run(llvm::Module&) + 187
17 llc               0x0000000100e2738d llvm::PassManager::run(llvm::Module&) +
29
18 llc               0x0000000100002207 main + 4231
19 llc               0x0000000100001134 start + 52
Stack dump:
0.    Program arguments: ./Debug+Asserts/bin/llc -O0 /tmp/cplus-dem.ll -o
/tmp/cplus-dem.s 
1.    Running pass 'Function Pass Manager' on module '/tmp/cplus-dem.ll'.
2.    Running pass 'Fast Register Allocator' on function '@do_type'
Illegal instruction

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