<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:john.brawn.123@gmail.com" title="John Brawn <john.brawn.123@gmail.com>"> <span class="fn">John Brawn</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [AArch64] Useless register shuffling with tail-call"
href="https://llvm.org/bugs/show_bug.cgi?id=23085">bug 23085</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>john.brawn.123@gmail.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [AArch64] Useless register shuffling with tail-call"
href="https://llvm.org/bugs/show_bug.cgi?id=23085#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [AArch64] Useless register shuffling with tail-call"
href="https://llvm.org/bugs/show_bug.cgi?id=23085">bug 23085</a>
from <span class="vcard"><a class="email" href="mailto:john.brawn.123@gmail.com" title="John Brawn <john.brawn.123@gmail.com>"> <span class="fn">John Brawn</span></a>
</span></b>
<pre>Latest trunk clang produces:
foo: // @foo
// BB#0: // %entry
mov w8, #20000
cmp w0, w8
b.le .LBB0_2
// BB#1: // %return
ret
.LBB0_2: // %if.end
add w1, w0, w0, lsl #6
mov w0, wzr
b bar
Looking at the -debug output compared to a build from a year ago both
recognised that x should be allocated to w0, but previously we failed to do
that for some reason (-debug output just says "missed hint %W0") but now we
succeed. Anyway, this bug appears to have been fixed.</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>