<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/97498>97498</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[RISC-V] .insn directive does not support constant arg
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
charlie-rivos
</td>
</tr>
</table>
<pre>
GNU-as supports a constant value to the .insn assembler directive as of commit: https://github.com/bminor/binutils-gdb/commit/a262b82fdbf4cda3b0648b1adc32245ca3f78b7a. The RISC-V LLVM assembler currently only supports the .insn directive with in the form of `.insn <type>, <operand1>, <operand2>`. Can the form of `.insn <value>` also be supported by Clang?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kktvnDAQxz-NuYwWGZvlceCQbkpVKe2hj9zHeABXxl7ZZqP99hVsoq0UNSfwvPz_j38Yo5kcUceOn9jxMcM1zT50w4zBGjoEc_ExU15fuy_ffx8wQlzPZx9SBITBu5jQJbigXQmShzQT5MZFBxgjLcpSAG0CDclcCDCCH2Hwy2ISkw8wp3SOTD4w0TPRTybNq8oHvzDRq8U4H7Yf49ZkbDxMWjHRvzaLHkUlVCNGrcZy0CgVr8pGFagHKUR5HFCOdaNqzOHXTPDj68_T4Rmenp6__aNsWEMgl-wVvLPXu7O7i7v2F5NmMG7PjT4smxNW8VsZk6d0PROTn5k4bSd_poBOF-8iYotUPIcT_n_Wvs5bIaCNHhS9iSMN6goni25iss90J3UrW8yoK-qibau6kjKbOy7HQopC8xa1LOpKtcjb4chrORA2WmSmE1yUvOaS87IuZN7UBVXtseKlKppRN6zktKCxubWXJfdhykyMK3VtXbZNZlGRjTszQjh6gT3JhNgQCt3Wc1DrFFnJrYkp3qckk-wO2-1J2PHx3aq1pwjOpzfPd84wTNkabPcBONtFr5_DOfg_NGy07PIiE_1N_qUTfwMAAP__l6320Q">