<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - __builtin_expect(cond, 0) always produces CMOV under -O2"
href="https://llvm.org/bugs/show_bug.cgi?id=27344">bug 27344</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>REOPENED
</td>
<td>RESOLVED
</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 - __builtin_expect(cond, 0) always produces CMOV under -O2"
href="https://llvm.org/bugs/show_bug.cgi?id=27344#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - __builtin_expect(cond, 0) always produces CMOV under -O2"
href="https://llvm.org/bugs/show_bug.cgi?id=27344">bug 27344</a>
from <span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=27344#c11">comment #11</a>)
<span class="quote">> Patches posted for review:
> <a href="http://reviews.llvm.org/D19435">http://reviews.llvm.org/D19435</a>
> <a href="http://reviews.llvm.org/D19488">http://reviews.llvm.org/D19488</a></span >
After the corresponding commits:
<a href="http://reviews.llvm.org/rL267572">http://reviews.llvm.org/rL267572</a>
<a href="http://reviews.llvm.org/rL267615">http://reviews.llvm.org/rL267615</a>
This example should now work: we should see branches instead of cmov
instructions.
There are still other cases where we lose the metadata when transforming a
branch into a select though, so if you're not getting the expected codegen in
any other examples, please do file a bug. I'll keep trying to fix those spots.</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>