<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:sjoerd.meijer@arm.com" title="Sjoerd Meijer <sjoerd.meijer@arm.com>"> <span class="fn">Sjoerd Meijer</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Peephole pass should remove dead code"
href="https://bugs.llvm.org/show_bug.cgi?id=11364">bug 11364</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;">CC</td>
<td>
</td>
<td>sjoerd.meijer@arm.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Peephole pass should remove dead code"
href="https://bugs.llvm.org/show_bug.cgi?id=11364#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Peephole pass should remove dead code"
href="https://bugs.llvm.org/show_bug.cgi?id=11364">bug 11364</a>
from <span class="vcard"><a class="email" href="mailto:sjoerd.meijer@arm.com" title="Sjoerd Meijer <sjoerd.meijer@arm.com>"> <span class="fn">Sjoerd Meijer</span></a>
</span></b>
<pre>the peepholer now understands this case, e.g.:
-- RewriteSource
Replacing: %3:gpr = VMOVRS %1:spr, 14, $noreg
With: %4:gpr = COPY %0:gpr
and
DeadMachineInstructionElim: DELETING: %1:spr = VMOVSR %0:gpr, 14, $noreg
Test case peephole-bitcast.ll was XFAIL'ed, which I have enabled in commit:
<a href="https://github.com/llvm/llvm-project/commit/20a1d03d778dedaa91cbf8ff63d4be92c2291ca0">https://github.com/llvm/llvm-project/commit/20a1d03d778dedaa91cbf8ff63d4be92c2291ca0</a>
will close this PR.</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>