<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - Assert due to overflow in IEEEFloat::convertPPCDoubleDoubleAPFloatToAPInt bitcast"
href="https://bugs.llvm.org/show_bug.cgi?id=36271">36271</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assert due to overflow in IEEEFloat::convertPPCDoubleDoubleAPFloatToAPInt bitcast
</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>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Support Libraries
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>llvm-dev@redking.me.uk
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Reduced from <a href="https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5779">https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5779</a>
opt -instcombine
Assertion failed: fs == opOK || fs == opInexact, file
F:\llvm\llvm\lib\Support\APFloat.cpp, line 2849
define void @i32_cast_cmp_oeq_int_0_uitofp_ppcf128() {
%f = uitofp i32 65536 to ppc_fp128
%B1 = fdiv ppc_fp128 %f, 0xM7FEFFFFFFFFFFFFF7C8FFFFFFFFFFFFE
%B6 = fdiv ppc_fp128 %f, %B1
store ppc_fp128 %B6, ppc_fp128* undef
ret void
}</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>