<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 --- - ICE when calling intrinsic _mm_cvtps_ph causes" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24125&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=lxpvm11wwnEIWt2Y8_TkzDSyTVEoxVvy7tIPxj98dgI&s=XRpg-O8stfIvy3n4OHamy-6tx7S90brmt1lMNUu4DYo&e=">24125</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ICE when calling intrinsic _mm_cvtps_ph causes
          </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>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>Backend: X86
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>charles_li@playstation.sony.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=14588" name="attach_14588" title="Preprocessed source">attachment 14588</a> <a href="attachment.cgi?id=14588&action=edit" title="Preprocessed source">[details]</a></span>
Preprocessed source

I ran across this compiler crash bug while testing vector intrinsics.

$ cat t.c
#include <x86intrin.h>

__m128i foo( __m128i v128) {
  return _mm_cvtps_ph(v128, 1);

}

$ clang t.c -c
fatal error: error in backend: Cannot select: intrinsic %llvm.x86.vcvtps2ph.128
clang-3.7: error: clang frontend command failed with exit code 70 (use -v to
see
invocation)
clang version 3.7.0 (<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_git_clang.git&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=lxpvm11wwnEIWt2Y8_TkzDSyTVEoxVvy7tIPxj98dgI&s=yNjDA2xnGFSqTv6vvXKIe7BioDkokTE1MkMlxQw7lNY&e=">http://llvm.org/git/clang.git</a>
d574782178c0e6c859c583debb4d7
2580c980dab) (<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_git_llvm.git&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=lxpvm11wwnEIWt2Y8_TkzDSyTVEoxVvy7tIPxj98dgI&s=9zI54bgKF03FaN5nz_17-YEWwu3FLoRPFBXMygqgCvw&e=">http://llvm.org/git/llvm.git</a>
6e50c921d037b032e22999ab0694ba4676d4b
812)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang-3.7: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_b&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=lxpvm11wwnEIWt2Y8_TkzDSyTVEoxVvy7tIPxj98dgI&s=wQMRnSuBfBPjsXICftLMMYFyDuuwMLxj48CZlUdxOb8&e=">http://llvm.org/b</a>
ugs/ and include the crash backtrace, preprocessed source, and associated run
sc
ript.
clang-3.7: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.7: note: diagnostic msg: /tmp/t-e7c696.c
clang-3.7: note: diagnostic msg: /tmp/t-e7c696.sh
clang-3.7: note: diagnostic msg:

********************</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>