[llvm-bugs] [Bug 26232] New: [AVX-512] llc fails with with setcce

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 21 05:11:31 PST 2016


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: unassignedbugs at nondot.org
          Reporter: Vsevolod.Livinskij at frtk.ru
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160121/733287db/attachment.html>


More information about the llvm-bugs mailing list