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

    <tr>
        <th>Summary</th>
        <td>
            Add support for PGO in Machine Outliner
        </td>
    </tr>

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

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

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

<pre>
    Machine Outliner(MO) gives a lot of code size wins but creates severe regressions in some cases. If we can use PGO in MO that'll enable many to use it at other optimization levels as well. This is not suggesting that we should add MO at other levels, it is only for projects that can enable MO separately.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcksGumzwQhZ_GbEYXJQaSsPDi_n-VqosoXfQFBjyBqYyNPEOi3Kev4Kat1JVl-fg7xz6DIjxEImea_0zzpcBFx5TdyBk96xOLLvmnu2A_ciS4Lho4Ujb2dLka28LAdxJACEkh3aBPnkD4g-DBUaBbFPpMqCQgdKdMkGnIJMIpCnAESRNBj0JSwrcbPNZNhEUIvn-9roLLFXRENfYYAlDELhBMGJ-gaZOxAiokHSlDmpUn_kDlFCHQnYIACjwohBJ-jCzAAjEpyDIMJMpx2OCrrYxpCR7Q-9XyD_KTYuz_qxELpBiecEsZ5px-Uq_yCVhDv8JdriA0Y0al8CwL7yrfVi0W5PbHfVvXdXOsi9E1t-502_e1x8Nhf2gIT_td2xJWTU9H9MeCnd3ZenewB1vZtqrLhvbY9dYf_cnWvW1MvaMJOZQh3Kcy5aFgkYVcezhVuyJgR0G2Vq2N9IDt0Fi7lpzdeuetWwYx9S6wqPylKGsg9-49yDLPKev23t91_DMIxZKDG1VnMdW7sWdjzwPruHRlnyZjzyv1tby9vszY85ZFjD1_Zr07-ysAAP__3BralQ">