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

    <tr>
        <th>Summary</th>
        <td>
            Scalar calculation error caused by o2 o3 optimization
        </td>
    </tr>

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

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

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

<pre>
    
![3C0D6FEF-E947-4b52-B529-0E8A7CD95B7A](https://github.com/user-attachments/assets/78ed3c0f-46cb-42ea-8de3-e43b02cdce16)
[1.zip](https://github.com/user-attachments/files/17500832/1.zip)
This error can be reproduced in clang 19.0.0
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycUUuS2ywQPg3aUFJBA5ZYsLDHowv8_wV4tC1SWLgATWp8-pSUSbLLIqvuKujvaWuN9xXREHUh6trZrS25mPgqNqbO5fBpCLsSdibAibqIN3Y9ze9z_67l2EunoL8o0D17n87j21Wry3gm6kpgWlp7ViLOBGYC8z22ZXODzw8C81ax9LY165cHrq0SmG2teCzjhEF4duvlybteAtp-Cih6lMIx8MEjPxHQX5rUhQ-v-PwXxltMuE8-KsYmAft6YP0C_3-JlWIpuVBvV-qQFnyWHDaPgcaV-mTXO-V6YAPrghFBC207NHwEPUpQE3SLGRnnI2o8MR_syLW4ccXFDSU47RHHLhpgIDkDySQTDIaTVd7xwK24MaYRiWT4sDENKX08hlzuXax1Q8O5UFx3yTpM9WgPYMXv9HglAHuZxexHvdvulUiWYm31D0yLLaH5z9tkd4fJb8m2mNffnreKgbpPmoFmQfOzxUd8HV-6rSTzl7h3jq_RP0v-hr4RmA9lR-Q_pX8Y-BEAAP__-iTDxg">