<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 --- - [AArch64] Suspect code near ICE on memset call."
href="http://llvm.org/bugs/show_bug.cgi?id=20147">20147</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[AArch64] Suspect code near ICE on memset call.
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: AArch64
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mcrosier@codeaurora.org
</td>
</tr>
<tr>
<th>CC</th>
<td>Hao.Liu@arm.com, james.molloy@arm.com, llvmbugs@cs.uiuc.edu, t.p.northover@gmail.com
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>In r211960, I fixed an ICE in getMemsetValue.
The segment of code just below the fix looks suspect as well, but I was unable
to generate a test case in my quick attempt.
Specifically, line 3638 seems to assume the VT of a vector element is either
f32 or f64.
3636 else if (VT.isVector()) {
3637 unsigned NumElts = VT.getVectorNumElements();
3638 MVT EltVT = (VT.getVectorElementType() == MVT::f32) ? MVT::i32 :
MVT::i64;
3639 return DAG.getNode(ISD::BITCAST, dl, VT,
3640 DAG.getConstant(0, EVT::getVectorVT(*DAG.getContext(),
3641 EltVT, NumElts)));
3642 } else
Hoping someone wouldn't mind taking a look.</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>