<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:michael.hliao@gmail.com" title="Michael Liao <michael.hliao@gmail.com>"> <span class="fn">Michael Liao</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - WebAssembly- assertion failure with alias for function"
   href="https://bugs.llvm.org/show_bug.cgi?id=38866">bug 38866</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>michael.hliao@gmail.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - WebAssembly- assertion failure with alias for function"
   href="https://bugs.llvm.org/show_bug.cgi?id=38866#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - WebAssembly- assertion failure with alias for function"
   href="https://bugs.llvm.org/show_bug.cgi?id=38866">bug 38866</a>
              from <span class="vcard"><a class="email" href="mailto:michael.hliao@gmail.com" title="Michael Liao <michael.hliao@gmail.com>"> <span class="fn">Michael Liao</span></a>
</span></b>
        <pre>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.</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>