<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [X86] VBMI intrinsics fail isel if BWI instruction set is not also enabled"
   href="https://llvm.org/bugs/show_bug.cgi?id=30912">30912</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[X86] VBMI intrinsics fail isel if BWI instruction set is not also enabled
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: X86
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>craig.topper@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>