[llvm-bugs] [Bug 38866] WebAssembly- assertion failure with alias for function

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 17 16:34:32 PST 2020


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

Michael Liao <michael.hliao at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.hliao at gmail.com
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #2 from Michael Liao <michael.hliao at gmail.com> ---
how that IR is generated? It seems to me the fix is not correct as we should
honor the alias type. On targets other than WebAssembly, that is not
disallowed. If that IR is targeted to WebAssembly and the intention of IR still
requires the alias to be a function, it should create that alias a dummy
function, such as void (). We should fix the invalid IR generation instead of
adding a workaround in backend.

-- 
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/20200218/17544dd0/attachment.html>


More information about the llvm-bugs mailing list