[LLVMbugs] [Bug 17047] New: Assertion `LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_EXTEND!"' failed

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Aug 31 20:19:38 PDT 2013


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

            Bug ID: 17047
           Summary: Assertion `LC != RTLIB::UNKNOWN_LIBCALL &&
                    "Unsupported FP_EXTEND!"' failed
           Product: new-bugs
           Version: trunk
          Hardware: Other
                OS: Linux
            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 11123
  --> http://llvm.org/bugs/attachment.cgi?id=11123&action=edit
Original source code

I am using clang/llvm 3.3, and am running into an error when running llc on
bytecode generated from OpenCL C. I attach the source code below; this code
loads half (half precision) values from memory and converts them to floats.

I also attach the bytecode below.

I am running on a Raspberry Pi running Raspbian, which is an
armv6-unknown-linux-gnueabihf.

I run llc with the command
{{{
llc vload_half.cl.bc 
}}}
which reports the error
{{{
llc: /home/pi/src/llvm-3.3/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp:374:
llvm::SDValue llvm::DAGTypeLegalizer::SoftenFloatRes_FP_EXTEND(llvm::SDNode*):
Assertion `LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_EXTEND!"' failed.
Stack dump:
0.    Program arguments: llc vload_half.cl.bc 
1.    Running pass 'Function Pass Manager' on module 'vload_half.cl.bc'.
2.    Running pass 'ARM Instruction Selection' on function
'@_Z10vload_halfjPKU3AS1Dh'
Aborted
}}}

The failing function is un-mangled via c++filt to "vload_half(unsigned int,
half AS1 const*)".

-- 
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/0d67a5ee/attachment.html>


More information about the llvm-bugs mailing list