<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 --- - [AArch64] Unnecessary Spill/Reload callee-saved registers" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24110&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=_oVJZqRHdnQCuAY1WQ8p_5iPcIK8mUnCxMdWS_Nd5aA&s=hDFNI5dIbp5TyDO9CFBDvaK9wck9n5FdM7y5vTstAAA&e=">24110</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[AArch64] Unnecessary Spill/Reload callee-saved registers
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</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>llc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lawrence@codeaurora.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=14585" name="attach_14585" title="testcase in IR">attachment 14585</a> <a href="attachment.cgi?id=14585&action=edit" title="testcase in IR">[details]</a></span>
testcase in IR
Assembly:
str w22, [sp, #40] // 4-byte Folded Spill <=== not
necessary
str x5, [sp, #120] // 8-byte Folded Spill
str w19, [sp, #48] // 4-byte Folded Spill
mov x19, x6
bl fprintf
mov w30, w24
mov x6, x19
ldr w19, [sp, #48] // 4-byte Folded Reload
ldp x7, x5, [sp, #112]
ldr w22, [sp, #40] // 4-byte Folded Reload <=== not
necessary
testcase is attached, it can be reproduced (via llc or llc -O3) with today's
llvm, here are the list of last commit:
llvm: 557268562107cfb8fdb19ac1c87fc6a8182180b5
clang: c6b4ddb4d7b507e0eb0a127fb6aa9556abc01409</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>