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: unassignedb...@nondot.org
          Reporter: mku...@google.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to