<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 --- - llc optimises unaligned intrinsic to aligned load" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23632&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=MKakWKHkswFKAhWhUoXV2MA-eXHx6AsnLcgDhMd_g1Q&s=_91J_U5ux7VMq3907ptI_lbHb03KjL-19bdi0T2HZ-Y&e=">23632</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llc optimises unaligned intrinsic to aligned load
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</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>llc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Vsevolod.Livinskij@frtk.ru
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=14370" name="attach_14370" title="Reproducer.">attachment 14370</a> <a href="attachment.cgi?id=14370&action=edit" title="Reproducer.">[details]</a></span>
Reproducer.
@llvm.x86.avx512.mask.compress.store.d.512 with -1 mask is optimized to
vmovdqa32 (i.e. aligned move), which seems to be incorrect, as alignment is
unknown in general case.
Compile: llc -mcpu=knl repr.ll
clang++ -march=knl main.cpp repr.s
Run: sde -knl -- ./a.out
llc -version
LLVM (<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=MKakWKHkswFKAhWhUoXV2MA-eXHx6AsnLcgDhMd_g1Q&s=dyn3L5VolK7BtCcfo0iPGdGN9Nu2RLmz_uV5fQRBjOs&e=">http://llvm.org/</a>):
LLVM version 3.7.0svn
Optimized build with assertions.
Built May 21 2015 (15:01:04).
Default target: x86_64-unknown-linux-gnu
Host CPU: sandybridge
clang version 3.7.0 (trunk 237892)</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>