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

    <tr>
        <th>Summary</th>
        <td>
            missed-optimization: Combine negations for division
        </td>
    </tr>

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

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

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

<pre>
    ```C
int unopt(int a, int b) {
    return -a / -b;
}

int opt(int a, int b) {
    return a / b;
}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkM3u2yAQxJ9muSBHeP1BfOCQfyK_B8RreysbLMCp2qev7KTtpZdKSIwY9rejsSnx5IkMNF_QPITd8xyimULwz0i0URQuDD8MtOp97qAeoG7ss9x92DLg9dAW8C4P4QA7Cfrr_U1KKSPlPXpZWAnYy8JB9TFBPz7iD_J_gG_ev3C_s4rBVENXdVaQKbWquxqbrhGzGa-uRdRKX5VrSo0dueqJjqxraexGK9igwlqVZakq1TXNpdKEYzmULbVuGBxCrWi1vFyW5bVeQpwEp7ST0VqXWizW0ZLOThE9fZenCYhHxdEcM4XbpwS1Wjjl9JeSOS9kVk6JhiJsmVf-aTMHD9VN3sPq2JP0NJ1vSY4hyoFfnDh4scfFzDlvCaobYA_YT5zn3V2eYQXsjx2fq9hi-EbPDNifyRJgfyb_FQAA__9fkZ1e">