<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 --- - [AVX-512] llc generates incorrect code"
   href="https://llvm.org/bugs/show_bug.cgi?id=25519">25519</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[AVX-512] llc generates incorrect code
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>llc
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>Vsevolod.Livinskij@frtk.ru
          </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>Created <span class=""><a href="attachment.cgi?id=15286" name="attach_15286" title="Reproducer.">attachment 15286</a> <a href="attachment.cgi?id=15286&action=edit" title="Reproducer.">[details]</a></span>
Reproducer.

llc produces incorrect code for knl

Compile with clang++ func.cpp -std=c++11 -march=knl -O3 -c

fatal error: error in backend: Cannot select: 0x5fb79f0: i32 = X86ISD::CMP
0x5fb5830, 0x5fdc310
  0x5fb5830: i1 = truncate 0x5fdbd20
    0x5fdbd20: i8 = or 0x5fb5a90, 0x5fde330
      0x5fb5a90: i8 = and 0x5fdbac0, Constant:i8<1>
...............................
In function: _Z3foov
clang-3.8: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 3.8.0 (trunk 251403)
Target: x86_64-unknown-linux-gnu
Thread model: posix</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>