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

    <tr>
        <th>Summary</th>
        <td>
            [RISC-V][BOLT] Does BOLT support `vsetvli` instruction?
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            BOLT
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          Caroline-zou
      </td>
    </tr>
</table>

<pre>
    I encountered a warning said 'unable to disassemble instruction at offset 0xa', and I used llvm-objdump to disassemble the executable binary file and found that the instruction is `vsetvl t2, t0, t1` .However, other rvv can be disassembled by BOLT. It makes me confused.

BOLT-WARNING: unable to disassemble instruction at offset 0xc (address 0x11190) in function main

the disassembly code:
```
./testcases/vset:       file format elf64-littleriscv

Disassembly of section .text:

0000000000011184 <main>:
   11184: 93 02 00 02   li      t0, 32
   11188: 13 03 00 10   li      t1, 256
   11190: d7 f3 62 80 vsetvl  t2, t0, t1
```


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU12P6yYQ_TX4ZRQLgz8f_LCbNG2kaittq_YZm3HCFkMEOJv011eQ6MZ3dV8uiibCHObMDOcI79XRIPakeiXVLhNLOFnXb4WzWhnc_GeXbLDy1h8AzWgXE9ChBAGfwhlljuCFkkBYsxgxaIRgQSovvMc5bpXxwS1jUNaACGCnyWMAehWENYRtQRgJB1g8StD6Mm_s8CGX-fw1TTgh4BXHJSSSQRnhbjApjSnDZBcjIZxESMg1qfJAanrxGC4aAoucgaZYkJpC_pv9xAu6-MWGEzpwlwuMwsCA6wokDDd4_eP3v3I4BJjFv-hhRhitmWLxOaE7Ql_uMcI2_7y8vx3efiX8BX5uMiMQ1gopHXoP9FoURUcJ60AZmBZzx89CmTVjbPqZ-wajlUj445DU9PFL25ywfUAfRuHRE7aPo4lV3lca6WTdLAKgnupyo1UIGp3y42VNuVvR2Qk83ivLA17DkzpF-lxFUbQlEL5NHfBfviEBIJ3FSjoOlAGlMQJoda_s_mqcfYdvI77gQHnEF3SNLyKeVfX6QkfjBdnAxKFm0FJ4KOOrNH40uXvMZM9lxzuRYV80tGzajjGanfqKMcShq1lXtUXXSklLLiomuBgrWRVVpnpGWUkL2tGWc17no2gFn0bJOyHqseGkpDgLpfNohdy6Y6a8X7BvmpLxTIsBtU8-ZSxqjDAWHev65JxhOXpSUq188M8EQQWdvP1--HO7-ZtUO1K9psvVDnYWfRI1-OV8ti48raKiOVYSJXyfLU73pxDOPr4a2xO2P6pwWoZ8tDNh-8j5-Nucnf3AMRC2Tx1EnaUm_g8AAP__tlhXEA">