[llvm-bugs] [Bug 28173] New: AVX512F crashes lowering anyext from i1 to i64

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 17 10:53:01 PDT 2016


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

            Bug ID: 28173
           Summary: AVX512F crashes lowering anyext from i1 to i64
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: mkuper at google.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

long long bar();

long long foo(bool i, int j) {
  if (j)
    return bar();
  return i | (-1ULL - 1);
}

When compiling with -mavx512f, we get:

fatal error: error in backend: Cannot select: 0x417f800: i64 = any_extend
0x4181c10
0x4181c10: i1,ch = CopyFromReg 0x4106ec0, Register:i1 %vreg2
0x4182200: i1 = Register %vreg2

-- 
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/20160617/13697ff5/attachment.html>


More information about the llvm-bugs mailing list