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

    <tr>
        <th>Summary</th>
        <td>
            [RISC-V] Compilation failure with RVV tuple type as function parameter
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            backend:RISC-V
      </td>
    </tr>

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

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

<pre>
    https://godbolt.org/z/feYEaeTr8

```
#include <riscv_vector.h>

__rvv_int32m1x2_t baz(__rvv_int32m1x2_t v_tuple);

__rvv_int32m1x2_t quux(__rvv_int32m1x2_t v_tuple) {
 return baz(v_tuple);
}
```

With compilation of `-march=rv64gcv`.

@asb We should back-port this to the LLVM 17.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyEUk1vnDAQ_TXDxVpkbGCXA4dkN0iV0ktabdoTss2wuDWY-oMm-fXVUqSmbdRK1lgeed7ze37Ce32ZEGsoboExtPOnEzAGxSkRMQzW1WsrkbZ7rocQZg_8BlgDrLnYTloTUusuwJoXYE2Pn-8EfnQHoCegN1st6bZ-HhnXkzKxQwL86LRXS7ugCtalA_C715Nt65al1VPgbMyeWBuIFC_ADn_3lzbE2SCwCvjtvyG-xfj0HwwC-w2EOAzRTRvvWyz709sq1_qow0CUHWdtRNB2IrYnUNLdKJwagJ_cUuYXtUBJ098cy6nwkjwi8YONpiNSqK-72bpAwqA9CZaEAcn9_fk9yfZp0tW8q3glEqyzsmL0kBcFTYa6ysqC5znue1X2-646VEJSqrKMCiYzLhNdM8o4PWQF3bMqo-lBVCVTXAosiiKTOeQUR6FNaswyXj860d5HrMu8rKrECInGb8m5vhGnDvjNw7sPx915C5Grr6M7GS8ecmq0D_4XWNDBrMnbRooTOb5yqxfaRIfk-9XGh_OZrPaT8DwjEZ70cVLrvVk4MWJAl0Rn_gypDkOUqbIjsOZKvG272dkvqAKwZpXkgTWrqh8BAAD__3_y8F8">