-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Description
| Bugzilla Link | 11378 |
| Resolution | FIXED |
| Resolved on | Nov 15, 2011 17:04 |
| Version | trunk |
| OS | All |
| Reporter | LLVM Bugzilla Contributor |
Extended Description
$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_iteratorllvm::MachineInstr, llvm::DenseMapIterator<unsigned int, (anonymous namespace)::RAFast::LiveReg, llvm::DenseMapInfo, 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
- Running pass 'Function Pass Manager' on module '/tmp/cplus-dem.ll'.
- Running pass 'Fast Register Allocator' on function '@do_type'
Illegal instruction