<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/64909>64909</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [WebAssembly] Support target features when invoking wasm-opt
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          sunfishcode
      </td>
    </tr>
</table>

<pre>
    When the clang frontend is invoking wasm-opt, it should pass flags to enable features such as bulk-memory, and others, following the flags enabled in clang.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkkb2O4yAQx58GN6NENjF2XFDkLsoLXLE1hsFwi8FiYKO8_cnOSVtshdDo_zG_UUR-iYiSiV9M3BtVi0tZUo3Wk9PJYDMn85IfDiMUh6CDigvYnGLBaMAT-PiVPn1c4KloPaWtMP4bfAFyqQYDmyICG9RCUBJgVHNAsKhKzUhAVTtQBHMNn6cV15Rfu1xFA6k4zLT_bAohPfeIvcHb621kwMd3pTNr76y9NUZezHSZVIOyGyY-9r0YusZJbcfJiE7zbugmMYzKjqJtx-tsOj2Oemq85C2_tFfOOe8n3p1Hoe3VXoXWWlijBta3uCofziF8reeUl8YTVZRDP7VTE9SMgQ6MnEd8wjFknO9Us9w1p7kuxPo2eCr07VJ8CQf_D5xvRLjO4cXEHf7UbUu5QFF5wfKN7Lmf4gf0puYgXSkbscuN8Qfjj8UXV-ezTivjjz3u_3PacvqLujD-OEoS449jiX8BAAD__yMnr2Q">