<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 --- - Missing Uses/Defs information for x86 short MOV instructions"
href="http://llvm.org/bugs/show_bug.cgi?id=18975">18975</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Missing Uses/Defs information for x86 short MOV instructions
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>llvmbugzilla.20.darksys@spamgourmet.org
</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>Created <span class=""><a href="attachment.cgi?id=12152" name="attach_12152" title="proposed patch">attachment 12152</a> <a href="attachment.cgi?id=12152&action=edit" title="proposed patch">[details]</a></span>
proposed patch
While using LLVM to determine register usage of a dissassembled binary I
noticed
that some MOVs to/from EAX are not listing EAX as an (implicit) used/defined
register.
I think this is the cause:
The shorter instructions for MOVs to/from (E)AX optimized by
SimplifyShortMoveForm (X86MCInstLower.cpp) are missing register Uses and Defs
information in X86InstrInfo.td.
I attached a small patch which achieves expected behaviour in my build, but I'm
not familiar with tablegen.</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>