[LLVMbugs] [Bug 17049] New: Cannot select: 0x7f8f1a887a10: f32 = fp16_to_fp32

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Sep 1 07:08:34 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17049

            Bug ID: 17049
           Summary: Cannot select: 0x7f8f1a887a10: f32 = fp16_to_fp32
           Product: new-bugs
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: schnetter at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11126
  --> http://llvm.org/bugs/attachment.cgi?id=11126&action=edit
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
http://llvm.org/bugs/ 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: 

********************
}}}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130901/a59571bf/attachment.html>


More information about the llvm-bugs mailing list