<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/122974>122974</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[llvm-exegesis][RISCV] computeAliasingInstructions in SerialSnipperGenerate generates instructions that can't be assembled
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:RISC-V,
tools:llvm-exegesis
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
topperc
</td>
</tr>
</table>
<pre>
I tried to run through all RISC-V opcodes available on my SiFive P550 system using -opcode-index=-1. I got some crashes trying to assemble pseudo instructions.
Should llvm-exegesis be filtering pseudos and custom insertion instructions in this function?
CC: @boomanaiden154 @mshockwave
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxcUs2OozwQfBpzaSUCg8Nw4JBJxKfcPm2kuRu7Ae8YG7nt7OTtV05mtcqeQG13letHEpnZIfZMvDNxLmSKiw999NuGQRWj1_f-AjEY1BA9hOQgLsGneQFpLfy4XE-7D_Cb8hoJ5E0aK0eL4B2sd7iawdwQ_heiBLpTxBUSGTfD7rmxM07jF6vPu2oPF5h9BPIrggqSFiSI4Z5vRw-SCNcMvBEm7cE4iiGpaLyjPSuPrDxeF5-sBmtv6w6_cEYyBCPCZGzEkHGeuwTSaVCJol8zDoaM8oIIJss0BFNyjwmrhyfJ6cTqI7CmHL1fpZNGo6tEkycrLV59_pI3hEL3te7qThbYV219eOuq5sCLpa90ozrRTXxq26lF2TR1rQ4dx3YUupumwvS85KKsqoZXoir5XjTj29Tpt8OhFW3blqwpcZXG7rPOvQ9zYYgS9hXnXdsUVo5o6ZEm56NUn-g0q4_PnBjnjJ8Y59F7S6w-vniVT8W5CP1jOqaZWFNaQ5H-ckUT7aMrr5vizMR75vhg4gzKr1uKeLRG5rAv_xh7xWCkvTqTK_YfOgwyIszfP_QaRFxkBCUd423MYf7pgS5SsP0S45Z1MD4wPswmLmncK78yPuQHfn92W_A_UUXGh4dXxPjwbdet578DAAD__9iCAyw">