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

            Bug ID: 26232
           Summary: [AVX-512] llc fails with with setcce
           Product: tools
           Version: 3.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llc
          Assignee: unassignedb...@nondot.org
          Reporter: vsevolod.livins...@frtk.ru
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

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

When I compile with llc -mcpu=knl -march=x86 reproducer.ll it fails with error,
while with -mcpu=core-avx2 it works fine.

LLVM ERROR: Cannot select: t31: i1 = setcce undef:i32, Constant:i32<0>, t44:1,
setlt:ch
  t26: i32 = undef
  t25: i32 = Constant<0>
  t44: i32,i32 = X86ISD::SUB undef:i32, Constant:i32<65536>
    t26: i32 = undef
    t24: i32 = Constant<65536>
In function: f_f

llc --version
LLVM (http://llvm.org/):
  LLVM version 3.8.0
  Optimized build with assertions.
  Built Jan 20 2016 (07:57:05).
  Default target: x86_64-unknown-linux-gnu
  Host CPU: haswell

clang version 3.8.0 (branches/release_38)

-- 
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