<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:babokin@gmail.com" title="Dmitry Babokin <babokin@gmail.com>"> <span class="fn">Dmitry Babokin</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Assertion `!isHReg(DestReg) && "Cannot move between mask and h-reg"' failed with -m32 -O0 -march=skx."
href="https://bugs.llvm.org/show_bug.cgi?id=32256">bug 32256</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>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Assertion `!isHReg(DestReg) && "Cannot move between mask and h-reg"' failed with -m32 -O0 -march=skx."
href="https://bugs.llvm.org/show_bug.cgi?id=32256#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Assertion `!isHReg(DestReg) && "Cannot move between mask and h-reg"' failed with -m32 -O0 -march=skx."
href="https://bugs.llvm.org/show_bug.cgi?id=32256">bug 32256</a>
from <span class="vcard"><a class="email" href="mailto:babokin@gmail.com" title="Dmitry Babokin <babokin@gmail.com>"> <span class="fn">Dmitry Babokin</span></a>
</span></b>
<pre>Still massively fails (almost every third auto-generated test in our runs).
clang r297761.
<span class="quote">> cat func_reduced.cpp</span >
extern const unsigned long int var_13;
extern const unsigned long int var_26;
extern const unsigned int var_27;
extern unsigned long long int var_60;
extern unsigned long long int var_66;
extern unsigned long int var_77;
void foo() {
var_66 = var_77 - var_60 - var_13 - var_60 * (!var_26 >> (var_27 && 0));
}
<span class="quote">> clang++ -w -m32 -O0 -march=skx -c func_reduced.cpp</span >
clang-5.0: /llvm/llvm-trunk-20170314/lib/Target/X86/X86InstrInfo.cpp:6352:
unsigned int CopyToFromAsymmetricReg(unsigned int &, unsigned int &, const
llvm::X86Subtarget &): Assertion `!isHReg(SrcReg) && "Cannot move between mask
and h-reg"' failed.
<...></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>