<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 - wasm miscompilation of vector instructions"
href="https://bugs.llvm.org/show_bug.cgi?id=46127">46127</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>wasm miscompilation of vector instructions
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>10.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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: WebAssembly
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kubkon@jakubkonka.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=23548" name="attach_23548" title="LLVM IR of the reduction">attachment 23548</a> <a href="attachment.cgi?id=23548&action=edit" title="LLVM IR of the reduction">[details]</a></span>
LLVM IR of the reduction
Summary:
Vector of non-byte-aligned elements get miscompiled with `llc -O0`. Additional
optimisation passes seem to rectify the problem (although I cannot say for sure
whether that's always the case). Anyhow, see downstream issue for more details
and full analysis: <a href="https://github.com/ziglang/zig/issues/5339">https://github.com/ziglang/zig/issues/5339</a>
Possibly (very likely) related: <a class="bz_bug_link
bz_status_CONFIRMED "
title="CONFIRMED - mipsel miscompilation of vector instructions"
href="show_bug.cgi?id=43768">https://bugs.llvm.org/show_bug.cgi?id=43768</a>.</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>