<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 - wasm32: Upcoming V128 type not handled in `valueTypeToString`"
href="https://bugs.llvm.org/show_bug.cgi?id=39271">39271</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>wasm32: Upcoming V128 type not handled in `valueTypeToString`
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alex@crichton.co
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, sbc@chromium.org, tlively@google.com
</td>
</tr></table>
<p>
<div>
<pre>In testing out SIMD support for wasm32 I was able to get quite far (yay!) and
it looks like there was just one minor omission in LLD, I hit a panic at some
point in an internal function [1] which doesn't handle the V128 case yet. I
didn't spend too much effort trying to minimize what happened but adding an
extra branch there for V128 fixed the issue and everything worked perfectly
afterwards!
[1]:
<a href="https://github.com/llvm-mirror/lld/blob/935d766de8b251de001fed5f44b9567ccf6cadb1/wasm/WriterUtils.cpp#L22-L35">https://github.com/llvm-mirror/lld/blob/935d766de8b251de001fed5f44b9567ccf6cadb1/wasm/WriterUtils.cpp#L22-L35</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>