<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - -no-phi-elim-live-out-early-exit leads to assertion in CodeGen/Hexagon/hwloop-cleanup.ll"
href="http://llvm.org/bugs/show_bug.cgi?id=22767">22767</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>-no-phi-elim-live-out-early-exit leads to assertion in CodeGen/Hexagon/hwloop-cleanup.ll
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Common Code Generator Code
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>djasper@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>