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

    <tr>
        <th>Summary</th>
        <td>
            Redundant save and restore the GPR and SPE registers .
        </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>
    The following code has the redundant save and restore of r29 and r30 GPR's in PPC32.

https://godbolt.org/z/dxE36MG99
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx1kFFPwyAQxz8NvBAbCm1pH3iYbu7BmDRTPwAd1xbDSgN0Uz-9rIsxMTHh4P7_S47fXef0p3wdgfTOWncx00COTgMZVSAx2R70Mmk1RRLUGYiadLJCdB6I64lnzc3ilOzbA2IiEDORtn3gLEN0i-jmdo8xzgHxDWKP6QxOd87GzPkhqa8U-mPHq-d902CQeVXlrKp4JbCWXDe8UTiaaEEe_oe5siaC1Xtpd8kfTIjgA8nw4q38A2DiuHTZ0Z2SsPb889zN3r3DMSZpQlggpKQUnAo8yi6nQlS6ZKwTRUFzxnVRQ9_Uooe-0ICt6sAGicp7xNgEF7K2SDkqt9hIRhmjNeN5UbJCZIXQSkGncp2XNWc9KiiclLHZleO6GezlitQtQ0hFm8YJv0UVghkmgPW71F8tcXRevp0gjE_KqnlWFK8Ach3gG_Avmwk">