<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - handleMoveUp incorrectly re-uses valnos"
href="https://bugs.llvm.org/show_bug.cgi?id=43487">43487</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>handleMoveUp incorrectly re-uses valnos
</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>enhancement
</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>Matthew.Arsenault@amd.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, quentin.colombet@gmail.com, tpr.ll@botech.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=22592" name="attach_22592" title="Patch adding testcase">attachment 22592</a> <a href="attachment.cgi?id=22592&action=edit" title="Patch adding testcase">[details]</a></span>
Patch adding testcase
While working on <a class="bz_bug_link
bz_status_NEW "
title="NEW - handleMoveUp fails to properly update main range when subregister def moved across another subregister def"
href="show_bug.cgi?id=43467">bug 43467</a> I found this testcase which produces incorrect
valnos from the path added in r326087
Assertion failed: (I->valno != std::next(I)->valno), function verify, file
../lib/CodeGen/LiveInterval.cpp, line 1071.
[16r,40r:1)[40r,64r:3)[64r,80r:3)[80r,80d:3) 0@64r 1@16r 2@80r 3@40r
valno 3 is used 3 times</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>