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

    <tr>
        <th>Summary</th>
        <td>
            [Compatibility] Some old version of bitcode cannot be parsed since 18.0.0
        </td>
    </tr>

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

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

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

<pre>
    I found some changes in LLVM version 18.0.0:
```
The constant expression variants of the following instructions have been removed:
and
or
```

Some old version of bitcode cannot be parsed. Can we provide compatibility support?

Error Message:
`Value referenced by initializer is an unsupported constant expression of type or`

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUks1u2zoQhZ-G2gwiUKJ-7IUWuck1UCBZtcieIkfSFDRH4FBO3Kcv7LhpFtkUEEQSmOE58_FYEZoj4qDa_1T7WNgtL5yGzeJbMbI_D99g4i16ED4iuMXGGQUowtPTyzOcMAlxhGpX6lIrc6_0o9L3qtO373r8sSA4jpJtzIBva0K5dp1sIhuzAE-QF4SJQ-BXijNQlJw2l4mjwGJPCCNihIRHPqH_0LHRv284fSn8_v9-cc7Bf7jlCUbKjj2CszFyhhFhtUnQl_BgI7wirIlPdCng42ozjRQon0G2deWUlTl8Fvg_JU7wjCJ2xs8QXmzYEBJOmDA69DCegSJlsoF-YQISsBG2eLsW_ZeYLnTOKwKnj8EKPxi_N3tb4FB1-8Y0VV_3xTLorsMR9860O9v3OLq-MlOva_SubXzVFTTUujZ6X-lK17umL3tTNaZxVWumru57oxqNR0uhDOF0LDnNBYlsOHTtbtcWwY4Y5E9Y0nApuhu3WVSjA0mWv22ZcrjG6uEzQtU-wr88CAhFh7eAFVsKw5LzKhfK9UHVh5nyso2l46OqDxft23K3Jv6JLqv6cPUvqj5cR_gdAAD__5Ag9C8">