<html>
<head>
<base href="https://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 --- - [X86] Failure to fold v2i32 load into CVTDQ2PD"
href="https://llvm.org/bugs/show_bug.cgi?id=27291">27291</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[X86] Failure to fold v2i32 load into CVTDQ2PD
</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>normal
</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>llvm-dev@redking.me.uk
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, spatel+llvm@rotateright.com
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>define <2 x double> @cvt_2i32_2f64(<2 x i32>* %p, <2 x double>* %q) {
%n = load <2 x i32>, <2 x i32>* %p
%z = sitofp <2 x i32> %n to <2 x double>
ret <2 x double> %z
}
llc -mtriple=x86_64-unknown -mcpu=btver2:
cvt_2i32_2f64:
vmovq (%rdi), %xmm0 # xmm0 = mem[0],zero
vcvtdq2pd %xmm0, %xmm0
retq
(v)cvtdq2pd supports either an XMM register or a 64-bit memory location as the
source parameter but it appears the patterns are missing to fold the 64-bit
load.</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>