<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/112085>112085</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[BOLT][AArch64] The implementation of MCF algorithms in BOLT
</td>
</tr>
<tr>
<th>Labels</th>
<td>
BOLT
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
CHNRyan
</td>
</tr>
</table>
<pre>
Hi,
I’m looking to contribute to BOLT by enhancing the accuracy of edge weight estimation for the AArch64 and RISC-V platforms. This improvement would help us obtain more accurate edge weight information in these architectures. Some research papers, such as _Profile Inference Revisited_ and _Completing Incomplete Edge Profiles by Applying Minimum Cost Circulation Algorithms, propose using min-cost flow algorithms_ to address this issue. However, I noticed that this approach hasn’t been implemented in BOLT, and remnants of it were recently removed (https://github.com/llvm/llvm-project/pull/93065).
Could you provide insights into why this approach was disabled in BOLT? Was the estimated overhead of the method too high, or were the existing data structures in BOLT insufficient to support such methods? What are the main challenges and issues in implementing this solution in BOLT?
Thank you in advance for your opinions.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUVM1u4zYQfhr6MlhDoiPHOujgOGskQLctskF7DChyZLJLcQQOaddvX1BysmlvvdiQNH_fz4xidqeA2InmQTSPK5WTpdgdnn59uaqw6slcuycn5EFUj6LaL7_P4qsUu0q07Qie6IcLJ0gEmkKKrs8Jy9PDb7-8Qn8FDFYFPYdYBKV1jkpfgQZAc0K4oDvZBMjJjSo5CjBQnEP3-6jt9g5UMPDy_P3w5Q-YvEoDxZHX8GodgxunSGccMSS4UPYGLPoJMgP1SbkAI8X3ngn_1dCFUmjp6EJpyAgqausS6pQj8hq-04gQkbG8h0lNGFnIA3DWFhTD2--RBucRnsOAEYNGeMGzY5fQvM1zvx1onDymAv856OUB4WsZ5JbMhaT9NPlrCfrmghvzCAfiBAcXdfbLjHt_ouiSHecJpkgTMULmkjS68EWXhMHTBdRH5FvRQRkTkRnSTBhzxjU80QXPGEulZwiUnEYDyaq0RKlpiqS0Bas4fGidoEcMhXM_M46mEFdkLnUK2ohjUCFxEdcluGAs9GkMyV_LRzqjASF3NqWJxWYv5FHI48klm_u1plHIo_fn978vU6S_UCchj1P2Xshju6m2jZDt-rMZD7PuV8qFlLMzCC5wkZjBhURwsdf_oLooBuNY9f4ThM0R_lQ8G-_mRTRAZ4wWlSmAypcRkyUDiQisO9mCm-KCc0782_EstVFJAaeYFye9NymT5WFw2hXDJgLO00QxLYZaivM8SZFC3aqOxcjaKu8xnJBnpmcd57ofciwb5hiYfH639Q3aZ75erQo_Zr5cAGXOqti27NyVcgSaXHAUeL0y3ca0m1atsKvv5e6-btumXdnuXpq6bu5UvdsOuq62arcZdC8HNGo31E29cp2s5F1d1bK6b9q6Xcvttle4abY1muq-qcRdhaNyfl1UXlM8rWY4XV3LatesvOrR83yQpFzsJctpit3sij6fWNxV3nHinxWSS34-YnNC8yiah9v9EM0jvFr8SdSyTzTAt8Px07K807XK0Xf_26GLIEIebyDOnfwnAAD__wLB1Vg">