[LLVMbugs] [Bug 23630] New: llc fails on AVX512

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 21 22:23:28 PDT 2015


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

            Bug ID: 23630
           Summary: llc fails on AVX512
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llc
          Assignee: unassignedbugs at nondot.org
          Reporter: Vsevolod.Livinskij at frtk.ru
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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

When I compile with llc -mcpu=knl repr.ll it wails with error, while with
-mcpu=core-avx2 it works fine.

LLVM ERROR: Cannot select: 0x353a690: i1 = sub 0x353ac80, 0x353eac0 [ORD=4]
[ID=12]
  0x353ac80: i1,ch = CopyFromReg 0x34dd320, 0x353e990 [ORD=2] [ID=7]
    0x353e990: i1 = Register %vreg1 [ID=1]
  0x353eac0: i1 = X86ISD::VEXTRACT 0x3539e40, 0x353a7c0 [ORD=3] [ID=11]
    0x3539e40: v16i1 = X86ISD::VSRLI 0x3539f70, 0x353ab50 [ORD=3] [ID=10]
      0x3539f70: v16i1 = X86ISD::VSHLI 0x353a8f0, 0x353ab50 [ORD=3] [ID=9]
        0x353a8f0: v16i1,ch = CopyFromReg 0x34dd320, 0x353aa20 [ORD=3] [ID=8]
          0x353aa20: v16i1 = Register %vreg0 [ID=2]
        0x353ab50: i8 = Constant<15> [ID=6]
      0x353ab50: i8 = Constant<15> [ID=6]
    0x353a7c0: i64 = Constant<0> [ID=3]
In function: f_f

llc -version
LLVM (http://llvm.org/):
  LLVM version 3.7.0svn
  Optimized build with assertions.
  Built May 21 2015 (15:01:04).
  Default target: x86_64-unknown-linux-gnu
  Host CPU: sandybridge

clang version 3.7.0 (trunk 237892)

-- 
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/20150522/ed83c5f5/attachment.html>


More information about the llvm-bugs mailing list