<html>
    <head>
      <base href="http://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 --- - Cannot select: 0x7f8f1a887a10: f32 = fp16_to_fp32"
   href="http://llvm.org/bugs/show_bug.cgi?id=17049">17049</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cannot select: 0x7f8f1a887a10: f32 = fp16_to_fp32
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>schnetter@gmail.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=11126" name="attach_11126" title="requested file">attachment 11126</a> <a href="attachment.cgi?id=11126&action=edit" title="requested file">[details]</a></span>
requested file

I am using clang version 3.3 (branches/release_33 186944).

This source code:
{{{
float f(const __fp16* p)
{
  return *p;
}
}}}

leads to the following error message:
{{{
$ clang -S fp16.c 
fatal error: error in backend: Cannot select: 0x7f9bb1087a10: f32 =
fp16_to_fp32
      0x7f9bb1087910 [ORD=1] [ID=4]
  0x7f9bb1087910: i16,ch = CopyFromReg 0x7f9bb0c200b8, 0x7f9bb1087810 [ORD=1]
[ID=3]
    0x7f9bb1087810: i16 = Register %vreg3 [ORD=1] [ID=1]
In function: f
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 3.3 (branches/release_33 186944)
Target: x86_64-apple-darwin12.4.0
Thread model: posix
clang: 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: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/gl/zvl8d6415vsbkd50nnll95k40000gs/T/fp16-6j9VtH.c
clang: note: diagnostic msg:
/var/folders/gl/zvl8d6415vsbkd50nnll95k40000gs/T/fp16-6j9VtH.sh
clang: 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>