<html>
<head>
<base href="https://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 --- - Couldn't join subrange crash in OpenCV Arithm/Log test"
href="https://llvm.org/bugs/show_bug.cgi?id=28083">28083</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Couldn't join subrange crash in OpenCV Arithm/Log test
</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>Linux
</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>Register Allocator
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Matthew.Arsenault@amd.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, matze@braunis.de
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=16511" name="attach_16511" title="Semi-reduced crashing testcase">attachment 16511</a> <a href="attachment.cgi?id=16511&action=edit" title="Semi-reduced crashing testcase">[details]</a></span>
Semi-reduced crashing testcase
RegisterCoalescer crashes on this. -verify-machineinstrs catches an error
before this.
*** Couldn't join subrange!
UNREACHABLE executed at
/home/matt/src/llvm/lib/CodeGen/RegisterCoalescer.cpp:2567!
#0 0x00000000025c88b8 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
/home/matt/src/llvm/lib/Support/Unix/Signals.inc:402:0
#1 0x00000000025c8c76 PrintStackTraceSignalHandler(void*)
/home/matt/src/llvm/lib/Support/Unix/Signals.inc:470:0
#2 0x00000000025c6f98 llvm::sys::RunSignalHandlers()
/home/matt/src/llvm/lib/Support/Signals.cpp:44:0
#3 0x00000000025c820a SignalHandler(int)
/home/matt/src/llvm/lib/Support/Unix/Signals.inc:256:0
#4 0x00007fd34769cef0 __restore_rt (/usr/lib/libpthread.so.0+0x10ef0)
#5 0x00007fd346867295 __GI_raise (/usr/lib/libc.so.6+0x33295)
#6 0x00007fd3468686da __GI_abort (/usr/lib/libc.so.6+0x346da)
#7 0x0000000002562655 bindingsErrorHandler(void*,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&, bool) /home/matt/src/llvm/lib/Support/ErrorHandling.cpp:127:0
#8 0x0000000001ebd6ff (anonymous
namespace)::RegisterCoalescer::joinSubRegRanges(llvm::LiveRange&,
llvm::LiveRange&, unsigned int, llvm::CoalescerPair const&)
/home/matt/src/llvm/lib/CodeGen/RegisterCoalescer.cpp:2574:0
#9 0x0000000001ebdcb0 (anonymous
namespace)::RegisterCoalescer::mergeSubRangeInto(llvm::LiveInterval&,
llvm::LiveRange const&, unsigned int, llvm::CoalescerPair&)
/home/matt/src/llvm/lib/CodeGen/RegisterCoalescer.cpp:2630:0
#10 0x0000000001ebe43a (anonymous
namespace)::RegisterCoalescer::joinVirtRegs(llvm::CoalescerPair&)
/home/matt/src/llvm/lib/CodeGen/RegisterCoalescer.cpp:2693:0
#11 0x0000000001ebe84c (anonymous
namespace)::RegisterCoalescer::joinIntervals(llvm::CoalescerPair&)
/home/matt/src/llvm/lib/CodeGen/RegisterCoalescer.cpp:2742:0
#12 0x0000000001eb8461 (anonymous
namespace)::RegisterCoalescer::joinCopy(llvm::MachineInstr*, bool&)
/home/matt/src/llvm/lib/CodeGen/RegisterCoalescer.cpp:1456:0
#13 0x0000000001ebeb9c (anonymous
namespace)::RegisterCoalescer::copyCoalesceWorkList(llvm::MutableArrayRef<llvm::MachineInstr*>)
/home/matt/src/llvm/lib/CodeGen/RegisterCoalescer.cpp:2812:0
#14 0x0000000001ebf614 (anonymous
namespace)::RegisterCoalescer::coalesceLocals()
/home/matt/src/llvm/lib/CodeGen/RegisterCoalescer.cpp:2938:0
#15 0x0000000001ebfa7e (anonymous
namespace)::RegisterCoalescer::joinAllIntervals()
/home/matt/src/llvm/lib/CodeGen/RegisterCoalescer.cpp:2972:0
#16 0x0000000001ebfdd9 (anonymous
namespace)::RegisterCoalescer::runOnMachineFunction(llvm::MachineFunction&)
/home/matt/src/llvm/lib/CodeGen/RegisterCoalescer.cpp:3018:0
#17 0x0000000001de26ba
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
/home/matt/src/llvm/lib/CodeGen/MachineFunctionPass.cpp:60:0</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>