[llvm-bugs] [Bug 32256] New: 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
Mon Mar 13 12:37:35 PDT 2017


            Bug ID: 32256
           Summary: Assertion `!isHReg(DestReg) && "Cannot move between
                    mask and h-reg"' failed with -m32 -O0 -march=skx.
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: Vsevolod.Livinskij at frtk.ru
                CC: llvm-bugs at lists.llvm.org

Created attachment 18089
  --> https://bugs.llvm.org/attachment.cgi?id=18089&action=edit

-m32 -O0 -march=skx options resulted in assertion fail: `!isHReg(DestReg) &&
"Cannot move between mask and h-reg"' (same problem with knl). Everything works
fine with other optimizations levels. 

extern bool c;
void a() { 
    char b = bool(!c) && 0; 

LLVM version:
clang version 5.0.0 (trunk 297578)

unsigned int CopyToFromAsymmetricReg(unsigned int&, unsigned int&, const
llvm::X86Subtarget&): Assertion `!isHReg(DestReg) && "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/20170313/46235a87/attachment.html>

More information about the llvm-bugs mailing list