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

    <tr>
        <th>Summary</th>
        <td>
            How will bolt integrate with llvm in the future? 
        </td>
    </tr>

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

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

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

<pre>
    At present, bolt source code has been integrated into llvm. Will bolt processing flow be further combined with llvm in the future? For example, bolt uses **llvm IR** and **llvm optimization pass** to improve the effect of post-link optimizing?

Because in the binary phase, bolt can see more optimization opportunities, but currently bolt only supports BB block rearrangement, function rearrangement and other optimization, and its ability is weak. If the optimization ability of llvm can be used, it is expected to obtain greater optimization effect.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9U8uSozAM_Bq4qCZFIORx4JDsVGrnupc92yCDJ8ambHky2a9f4TxmsoetcoGN1K12S0jXXZo9weQxoKWs_AHSGYLgom8RWtchDCKARLSgLWHvBWE3bx0Y8zEu4Lc25gqavGsxBG17UMadGQQqehrQM9EotWXgWdOQgEwBHOIMih6z6ghH5wE_xTgZfOiIAQNk5Z5XAr39uh5A2O77dzeRHvUfQdpZmEQItzRWqUfW9YGpGCqFLYFTMLlAL0bb0x3KqllEVrxmxf76PGAruP5dKOsX_gIT2_GlrxUWAiKMzuOzCDdNzlO0mjSGlB85PXrPNpvLFe0s70JMmQEOB5DGtSfwKLwXtsfx1hIVbZtInyLJA5fs_V55BswRzZRCaqPpAjrAGcVpAW8q3eVJ6T2JXUleznfi1vHVu5lL0wzHz4md4wayo06SYFN6VkP_FL85vMi7pup21U7kpMlg85PH4fwYlMcg_W8c8uhNMxBNIau4l0dePWdHueBh4sOMur1euMPvXJaPOoQ4-32sV9vtJh-aYr1Rqi2kqgpVIy5RVruuU_VGbtpCrFRuhEQTmqw-ZGVp8QyJgvdZ_ZrrpizKslgtq2JTVcvdolyv6wIlM7VtKXCbrQochTaL9DM43-e-SZJk7AMHjQ4UvoI8mbq3iKkc84tIg_NNxz3VtF3WeSreJPF_AdD5QMk">