<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:lebedev.ri@gmail.com" title="Roman Lebedev <lebedev.ri@gmail.com>"> <span class="fn">Roman Lebedev</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - InstCombine misses C0-(C1-X) optimization"
href="https://bugs.llvm.org/show_bug.cgi?id=47997">bug 47997</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;">Fixed By Commit(s)</td>
<td>
</td>
<td>e465f9c3036b28bdbdbef03eee8fd022a3b6dcbf, c009d11bdac4a7f4a3a8ae85e42da053828a6f24
</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 - InstCombine misses C0-(C1-X) optimization"
href="https://bugs.llvm.org/show_bug.cgi?id=47997#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - InstCombine misses C0-(C1-X) optimization"
href="https://bugs.llvm.org/show_bug.cgi?id=47997">bug 47997</a>
from <span class="vcard"><a class="email" href="mailto:lebedev.ri@gmail.com" title="Roman Lebedev <lebedev.ri@gmail.com>"> <span class="fn">Roman Lebedev</span></a>
</span></b>
<pre>e465f9c3036b28bdbdbef03eee8fd022a3b6dcbf taught negator about the subj
transform,
since it does appear to be beneficial always.
The C0-(C1+X) case, however, is not generally beneficial,
so i simply moved it's specific fold earlier, so it fires again for C0=0.</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>