<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 --- - Assertion `LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_EXTEND!"' failed"
href="http://llvm.org/bugs/show_bug.cgi?id=17047">17047</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion `LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_EXTEND!"' failed
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</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>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=11123" name="attach_11123" title="Original source code">attachment 11123</a> <a href="attachment.cgi?id=11123&action=edit" title="Original source code">[details]</a></span>
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*)".</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>