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

    <tr>
        <th>Summary</th>
        <td>
            Shouldn't emit "evstdd" for ppc32 and is the case for "-fpic"
        </td>
    </tr>

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

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

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

<pre>
    Please refer the sample @
https://godbolt.org/z/fdPj1Gb7f

because of this our unwinding is  restoring the invalid  R30 (GLOABL_OFFSET_TABLE) in the offset sp(32) and which is incorrect .
i.e
.cfi_offset r30, -32
   evstdd 30, 32(31)   

its not expected to generate .

 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxdUk1v3CAQ_TX4MlqLhXhtH3zYNNkcGilRk55X2IxtItZYgDdtf30HO1GqSnzM8Ib35glap383zxZVQPDYo4c4IgR1mS0Cu-GM3zF-HGOcA5NHJk40BqdbZ2Pu_EDZH5q9fn7bP7Rlv5Vva4udWojW9cRpArjFwzK9m0mbaQA6IMEQnU9ZEjXTVVmjAX5IDkxUD49Px9vH89Pp9HL_en6l-J6JmsrWatf3ASOEmSqlSICaNLyPphsTt5k65z12EfKtG5PjFuRdb84ft73kTHyDHRGsGADgNUStYQMScSX3iR3gX28mBphcBPw1kwZqiA4GnNCriJ-KH5SZbqSuZa2yaKLF5mV0i9UTEyVdv5hIVsUmSgH0zsM8d1KsdshI8tql10kIVez62XS0Z4u3zX_vYuK4tHnnLpRYe_3cdrN3b9QmpSaEBQMFRVEVZTY25UHxQt_s615zrMpDXxdlqaqiplG0vMqsatGGhhW3JDrhO6wUFLPiLjON4ELwA5d7yUVR5bXYo-qwllzyViDSD8KLMjZPfaQPk_lmbaldhkCgNSGGL1CFYIYJcZUjfrXE0fnm5wXD-F1ZNc-KZ2sDzWrgL7ug2HA">