<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:llvm-dev@redking.me.uk" title="Simon Pilgrim <llvm-dev@redking.me.uk>"> <span class="fn">Simon Pilgrim</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - umulll_overflow with constant powers of two are not well optimized"
href="https://bugs.llvm.org/show_bug.cgi?id=28426">bug 28426</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;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>listmail@philipreames.com, llvm-dev@redking.me.uk
</td>
</tr>
<tr>
<td style="text-align:right;">Component</td>
<td>Backend: X86
</td>
<td>Scalar Optimizations
</td>
</tr>
<tr>
<td style="text-align:right;">Fixed By Commit(s)</td>
<td>
</td>
<td>2cd23eb2438238b1297ff7b4368d673c449ff24f
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - umulll_overflow with constant powers of two are not well optimized"
href="https://bugs.llvm.org/show_bug.cgi?id=28426#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - umulll_overflow with constant powers of two are not well optimized"
href="https://bugs.llvm.org/show_bug.cgi?id=28426">bug 28426</a>
from <span class="vcard"><a class="email" href="mailto:llvm-dev@redking.me.uk" title="Simon Pilgrim <llvm-dev@redking.me.uk>"> <span class="fn">Simon Pilgrim</span></a>
</span></b>
<pre><a href="https://godbolt.org/z/GoMjxzW9f">https://godbolt.org/z/GoMjxzW9f</a>
This was fixed in D104665/rG2cd23eb24382
define i1 @k(i64 %0) {
%2 = icmp ugt i64 %0, 4611686018427387903
ret i1 %2
}
k(unsigned long long): # @k(unsigned long
long)
shr rdi, 62
setne al
ret</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>