[llvm-bugs] [Bug 39271] New: wasm32: Upcoming V128 type not handled in `valueTypeToString`

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 12 16:38:49 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39271

            Bug ID: 39271
           Summary: wasm32: Upcoming V128 type not handled in
                    `valueTypeToString`
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: alex at crichton.co
                CC: llvm-bugs at lists.llvm.org, sbc at chromium.org,
                    tlively at google.com

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]:
https://github.com/llvm-mirror/lld/blob/935d766de8b251de001fed5f44b9567ccf6cadb1/wasm/WriterUtils.cpp#L22-L35

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181012/6856d44f/attachment.html>


More information about the llvm-bugs mailing list