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

    <tr>
        <th>Summary</th>
        <td>
            `va_list` and `va_args` encodings similar to x32 ABI
        </td>
    </tr>

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

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

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

<pre>
    I am looking into supporting a target for WebAssembly similar to x32 ABI, where the register size should be 64 bits, but the pointer size is 32 bits. In particular, I am wondering how to modify the code generation for variadic arguments this part of the ABI, since it seems like the pointer size is used to determine these sizes. 

Thanks
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxskkFvpD4MxT9NuFgdZQwzwIHD9F-N1Ptf2uPKEANuQzKKw8x2P_0KWu1eegHFfn7vF8WkKlNg7szp2ZxeClrzHFNH6W0NCYs-uo_uFWgBH-O7hAkk5Ai63m4x5e1MkClNnGGMCX5wf1HlpfcfoLKIpwQ5wq8S4fL8avA_eMycGPLMkHgSzZxA5TeDznH1DnqGcwW9ZN3E_Zp36S1K-KsUhRJ3yQFeA9woZRlWT2mb2FEfMThOG9wcH1v-Ep2MH7vVEB3DxIETZYlhp75TEnIyAKVpXThkhTyL7tYQx33uC18lDAySQZkXBS_v_C3hquy2ZMeZ0yJhVynvfT2AsS_GXj6__88U3rVwXenasqWCu2ONtsHKNm0xd0d7atzIrrSn9jxWVFeDRdtwSaOrqSwL6dBiZesjIlZHbA9D0w51X7q-HpGZGlNZXkj8wfv7cohpKkR15a5tzm1deOrZ6_78iIEfsDcN4rYNqdtmnvp1UlNZL5r1n0uW7LkzZ3unn1vLnC1QcPBZoTTpVuEwRCdh0m8WoliT7-acb2rKi8GrweskeV77wxAXg9ct6uv3dEvxjYds8LoDqsHr5wXuHf4JAAD__zyI7M0">