[LLVMbugs] [Bug 22767] New: -no-phi-elim-live-out-early-exit leads to assertion in CodeGen/Hexagon/hwloop-cleanup.ll
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Mar 3 02:25:00 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22767
Bug ID: 22767
Summary: -no-phi-elim-live-out-early-exit leads to assertion in
CodeGen/Hexagon/hwloop-cleanup.ll
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
Assignee: unassignedbugs at nondot.org
Reporter: djasper at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
We want -no-phi-elim-live-out-early-exit (r231064) to become the default, but
need to fix this assertion first:
Output:
Assertion failed: (isReg() && "This is not a register operand!"), function
getReg, file /Users/djasper/clang/llvm/include/llvm/CodeGen/MachineOperand.h,
line 265.
0 llc 0x000000010f6895be
llvm::sys::PrintStackTrace(__sFILE*) + 46
1 llc 0x000000010f68a97b
PrintStackTraceSignalHandler(void*) + 27
2 llc 0x000000010f68adc5 SignalHandler(int) + 565
3 libsystem_platform.dylib 0x00007fff8dd71f1a _sigtramp + 26
4 llc 0x0000000110036157 ErrorCategory + 81591
5 llc 0x000000010f68a9ab raise + 27
6 llc 0x000000010f68aa62 abort + 18
7 llc 0x000000010f68aa41 __assert_rtn + 129
8 llc 0x000000010db4da7d llvm::MachineOperand::getReg()
const + 109
9 llc 0x000000010e0009e0
llvm::HexagonInstrInfo::InsertBranch(llvm::MachineBasicBlock&,
llvm::MachineBasicBlock*, llvm::MachineBasicBlock*,
llvm::SmallVectorImpl<llvm::MachineOperand> const&, llvm::DebugLoc) const +
1584
10 llc 0x000000010eb615f9
llvm::MachineBasicBlock::updateTerminator() + 1769
11 llc 0x000000010eb6654a
llvm::MachineBasicBlock::SplitCriticalEdge(llvm::MachineBasicBlock*,
llvm::Pass*) + 2618
12 llc 0x000000010ec75d61 (anonymous
namespace)::PHIElimination::SplitPHIEdges(llvm::MachineFunction&,
llvm::MachineBasicBlock&, llvm::MachineLoopInfo*) + 1425
13 llc 0x000000010ec754c1 (anonymous
namespace)::PHIElimination::runOnMachineFunction(llvm::MachineFunction&) + 289
14 llc 0x000000010ebc5cfe
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 110
15 llc 0x000000010f0313db
llvm::FPPassManager::runOnFunction(llvm::Function&) + 427
16 llc 0x000000010f0316e8
llvm::FPPassManager::runOnModule(llvm::Module&) + 104
17 llc 0x000000010f0320f4 (anonymous
namespace)::MPPassManager::runOnModule(llvm::Module&) + 1412
18 llc 0x000000010f03199e
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 302
19 llc 0x000000010f032871
llvm::legacy::PassManager::run(llvm::Module&) + 33
20 llc 0x000000010db0d36a compileModule(char**,
llvm::LLVMContext&) + 7866
21 llc 0x000000010db0b442 main + 226
22 libdyld.dylib 0x00007fff94bb55c9 start + 1
Stack dump:
0. Program arguments: /Users/djasper/clang/build/./bin/llc -march=hexagon
-mcpu=hexagonv4
1. Running pass 'Function Pass Manager' on module '<stdin>'.
2. Running pass 'Eliminate PHI nodes for register allocation' on function
'@test1'
FileCheck error: '-' is empty.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150303/c4907bfb/attachment.html>
More information about the llvm-bugs
mailing list