<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 - xor %a, C -> xor %a, -1 canonicalization"
href="https://bugs.llvm.org/show_bug.cgi?id=37610">bug 37610</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;">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 - xor %a, C -> xor %a, -1 canonicalization"
href="https://bugs.llvm.org/show_bug.cgi?id=37610#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - xor %a, C -> xor %a, -1 canonicalization"
href="https://bugs.llvm.org/show_bug.cgi?id=37610">bug 37610</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>(In reply to Sanjay Patel from <a href="show_bug.cgi?id=37610#c2">comment #2</a>)
<span class="quote">> IR is now:
> define i8 @and_0(i32 %0, i8 %1) {
> %3 = zext i8 %1 to i32
> %4 = shl nsw i32 -1, %3
> %5 = xor i32 %4, -1
> %6 = and i32 %5, %0
> %7 = trunc i32 %6 to i8
> ret i8 %7
> }
>
>
> And the x86 backend sees it as 'bzhi' when allowed. Fixed?</span >
I think we can consider this fixed, yes.
Thanks!</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>