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

    <tr>
        <th>Summary</th>
        <td>
            Bug with function returns in LLVM
        </td>
    </tr>

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

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

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

<pre>
    Booleans returns for some reason don't work on LLVM15.
**Source code:**
![image](https://user-images.githubusercontent.com/23521035/197757395-506792bc-654a-4014-9ae2-99d38de89f05.png)
**LLVM IR:**
![image](https://user-images.githubusercontent.com/23521035/197757237-d9547b57-061f-4c91-93b1-364a7832f984.png)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy9kc2K2zAQgJ9GvhgZafRnHXRoWAqF7aWF3mV77LirWEGSN_Ttq3gT2r5AxcD8auZjZojTL3eKMaDfcpuw7KnqOaY2xwvWgM9xa6e4ETClvcX01lb_9fXHV646wl4I-0TgLt_jnkZsxzghEY_YM8-JOq0XvyBRLwT6cynXfBR9rrJnTPTI5m5Zy3kf7pExbgW30o3xUmtAKOBMqGpya4wywiqqmDYWhpFqJT2VjEtqPQK1dhL9hL2dmequ20LA_g16Z2-_fPsPkCAMnaySZlCGMs1nKkfLqRUDp0JLb3oBs-3lA7JBx3V9VjOAZnJissL6pqwloDvtS3urg9t538ay1hs8b7V-nKPZU3D_Qn-APuhCeH8qek3xJ46lumvOO-ZqqF5Z3pzdDNj7wYLivVcj51zPIGfPjdaCGTs0wQ8YsqvLIgAb3tqjRbXr2prVQWXnrH7nzDDo7AACveJGWdBSeiIZXvwaujtHF9PSJHcgDfuSazKsueQ_SZ_zumyIx7ja3-_lHJN79xuGt-aY7A7y39aL04k">