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

    <tr>
        <th>Summary</th>
        <td>
            %wide-string  error: invalid use of function-local name
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          XX-Official
      </td>
    </tr>
</table>

<pre>
    When I try to apply LLVM optimizations (-O3)  to lifting the llvm code,an error occurs: 

error: invalid use of function-local name
             @global_var_40e7f0 = constant [7 x i32] %wide-string
                                                                               ^

How to solve the problem?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJylkU1v3CAQhn8Nvoy8wuDPA4dNNqtWSpVbm1uE7bFNhcECvNvtry92UjWReqmKEMwww8zDS2v7m_g2oYHPENwNggW5LPoGj49fv4BdgprVTxmUNR4Iq9MnTlgDW5pWQ1BmhDAhaH2ZobM9koczubsn9b00gM5ZB7brVuffzpsjEHoi9Pi67hmEH0GZi9Sqh9Uj2AGG1XRby1TbTmowcsbXC_B-kJyO2rZSv1yke8kpVgMFwk8RxPggTQBS3FXwAxRnpDhF_OKqekx9cJH7LwX_f5Di4f37PtnrppS3-oK7Touzrcb5txrnBEVWllVDs6bMk17wvuGNTIIKGsVHXoB_UCtZnRZTCIuP-YSd4xxVmNb20Nk5Ott_vW1pZPqOXYiu8n5FH42iriueTAK7gdMaq6LIucxqrPOWVTXNMB_qklVlomWL2ouoM2HM4BX2EtGOeidKMMpYltE6o7Sk-SHLcWi6LOeU503RyviBOEulDxvHwboxcWJHatfRx6BWPvg_Qem9Gg3i3i7Wl2uYrBPPz-nTMKhOSZ3s7cWO_wtxytfJ">