<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 - Crash in ARM backend for fmaxnum/fminnum"
href="https://bugs.llvm.org/show_bug.cgi?id=35372">35372</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Crash in ARM backend for fmaxnum/fminnum
</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>Linux
</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: ARM
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>srhines@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>kristof.beyls@arm.com, llvm-bugs@lists.llvm.org, pirama@google.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=19451" name="attach_19451" title="reduced ll file">attachment 19451</a> <a href="attachment.cgi?id=19451&action=edit" title="reduced ll file">[details]</a></span>
reduced ll file
The attached test case breaks for fmaxnum. We also tested a few variations in
this source file. Changing the call to fminnum also will crash similarly. If we
remove the fp-armv8 flag, then the bug goes away (but the new instructions
aren't used either). There are also slightly different crashes if you change a
constant value from -3.276800e+04 to -3.376800e+04, but it isn't obvious if
this is just a different manifestation of the same bug.
$ llc bugpoint-reduced-simplified.ll
LLVM ERROR: Cannot select: t12: v4f32 = fmaxnum t22, undef:v4f32
t22: v4f32 = bitcast t21
t21: v4i32 = ARMISD::VMOVIMM TargetConstant:i32<1735>
t20: i32 = TargetConstant<1735>
t11: v4f32 = undef
In function: _ZN7android11volumeMultiILi4ELi8EsffisEEvPT1_jPKT2_PT4_PKT3_T5_</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>