<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 - [X86] Crash compiling sitofp with sse1, no-x87, and 32-bit mode"
href="https://bugs.llvm.org/show_bug.cgi?id=38819">38819</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[X86] Crash compiling sitofp with sse1, no-x87, and 32-bit mode
</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>All
</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>Backend: X86
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>craig.topper@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>This IR crashes with llc test.ll -mattr=+sse,-sse2,-x87 -mtriple=i686
define void @foo(i64 %x, float* nocapture %b) local_unnamed_addr #0 {
entry:
%conv = sitofp i64 %x to float
store float %conv, float* %b, align 4
ret void
}
Error:
SoftenFloatResult #0: t16: f64,ch,glue = X86ISD::FILD_FLAG<(load 8 from
%fixed-stack.2, align 4)> t0, FrameIndex:i32<-1>, ValueType:ch:i64
Do not know how to soften the result of this operator!
UNREACHABLE executed at
/Users/craig/Development/clang/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp:60!</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>