<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 --- - RDDSP operands are added too late"
href="https://llvm.org/bugs/show_bug.cgi?id=27116">27116</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>RDDSP operands are added too late
</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>Backend: MIPS
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>matze@braunis.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>The RDDSPs operands are currently added in
MipsSEDAGToDAGISel::processFunctionAfterISel(), if they are the only user of a
physreg then these physreg will appear dead during the earlier InstrEmitter
phase of selection dag, so some defs will be incorrectly marked as dead.
This is currently not a problem because the LiveVariables pass happens to reset
all dead flags, however long term we plan to remove the whole LiveVariables
pass.
(The problem is visible in some functions in test/CodeGen/Mips/dsp-r1.ll when
dead flag removal is disabled in the LiveVariables pass.)</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>