[llvm-bugs] [Bug 32256] Assertion `!isHReg(DestReg) && "Cannot move between mask and h-reg"' failed with -m32 -O0 -march=skx.

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 14 14:06:30 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=32256

Dmitry Babokin <babokin at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #3 from Dmitry Babokin <babokin at gmail.com> ---
Still massively fails (almost every third auto-generated test in our runs).
clang r297761.

> cat func_reduced.cpp
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));
}

> clang++ -w -m32 -O0 -march=skx -c func_reduced.cpp
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.
<...>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170314/2ebef2d9/attachment.html>


More information about the llvm-bugs mailing list