<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 --- - [AVX512]: fatal error: error in backend: Cannot select: 0x7fbc0022a050"
   href="https://llvm.org/bugs/show_bug.cgi?id=28974">28974</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[AVX512]: fatal error: error in backend: Cannot select: 0x7fbc0022a050
          </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>wenzel.jakob@epfl.ch
          </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=16946" name="attach_16946" title="CPP file causing the crash">attachment 16946</a> <a href="attachment.cgi?id=16946&action=edit" title="CPP file causing the crash">[details]</a></span>
CPP file causing the crash

I've run into the attached codegen crash with Clang trunk.

fatal error: error in backend: Cannot select: 0x7fbc0022a050: v4i1 =
BUILD_VECTOR TargetConstant:i1<0>, TargetConstant:i1<0>, TargetConstant:i1<0>,
TargetConstant:i1<0>
  0x7fbc00229f00: i1 = TargetConstant<0>
  0x7fbc00229f00: i1 = TargetConstant<0>
  0x7fbc00229f00: i1 = TargetConstant<0>
  0x7fbc00229f00: i1 = TargetConstant<0>
In function: _Z7runTestIN4simd5ArrayIdLm4ELb0ELNS0_12RoundingModeE4EEEEvv
clang-4.0: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 4.0.0 (trunk 277963)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Users/wenzel/llvm/build/bin
clang-4.0: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang-4.0: note: diagnostic msg:


It is likely related to usage of the AVX512VL intrinsics

_mm256_cmp_epi64_mask, _mm256_mask_i64scatter_epi64, and
_mm256_mask_i64scatter_pd

(no crash occurs when these functions are not called).</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>