[llvm-bugs] [Bug 30912] New: [X86] VBMI intrinsics fail isel if BWI instruction set is not also enabled

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 3 22:01:47 PDT 2016


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

            Bug ID: 30912
           Summary: [X86] VBMI intrinsics fail isel if BWI instruction set
                    is not also enabled
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: craig.topper at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

If VBMI instructions are enabled but BWI isn't we fail isel with errors like
this:

SplitVectorResult #0: t24: v64i8 = llvm.x86.avx512.mask.permvar.qi.512
TargetConstant:i64<4961>, t15, t16, t17, Constant:i64<-1>

LLVM ERROR: Do not know how to split the result of this operator!


This is because v64i8/v32i16 are only concerned a legal type if BWI is enabled.

We either need to make VBMI imply BWI is also enabled or we need to make these
types legal if either BWI or VBMI instructions are enabled.

-- 
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/20161104/a5672034/attachment-0001.html>


More information about the llvm-bugs mailing list