<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/121434>121434</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[BOLT] Incomplete profile is not handled properly in BOLT
</td>
</tr>
<tr>
<th>Labels</th>
<td>
BOLT
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
liusy58
</td>
</tr>
</table>
<pre>
For example:
```
BB1
/ \
BB2. BB3
\. /
BB4
```
If we only have the entry execution count, then we can use `-equalize-bb-counts` to get the execution count of BB4. But BB2 and BB3 still have no profile, which will result in being split into the cold.
Maybe we need to distribute the count evenly to BB2 and BB3?
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxUktGOpCwQhZ8GbyptELRtL7xoe2Iyyf9nb_YFEEplQ4Mr0D3u02-w3Z0dY0IoDqc-Kkd4ryeL2JKqI9VbJmKY3doaHf1WXbLBqa3t3Qr4Ie6LQcKvhF7JmR4_vcLr67ri74aw_qiS6nZUu47l-8I_ZdUtP-Sp1nVlsv7q_j7CE8FZs8EsHghhRkAb1g3wA2UM2lmQLtpA2C0d2iSXwkL0CORMT_gzCqN_4WkYTrvQkzOF4GDC8HL76gNuTCQ5dDEkaBBWJWrwQRvzgrAOltWN2mDq-py1nOGZTlf00QTQFgbUdgK_GJ22we2tpDMqf73xf7ENmFgtoko4Svuw6iEGPKSJBR-YXh7cvySE7-PKVMtVwxuRYVvUvKo557zM5rYZK8rOFyrZIHEc5SClKpW6UMXrc4Mq0y2jrKIFLQpGL1WZS4ZlrWh9aUQtiwZJSfEutMmNedxzt06Z9j5iW7Ci5GVmxIDG74FhrPv233fCWIrO2ib9aYiTJyU12gf_6RB0MHvI9gvVG7xb6VKiAv4ZJmgP1gWYhVUGVSovuJotzTPdyuJq2jmExacUsp6wftJhjkMu3Z2wPvU6ltOyuh8oA2H9ju4J6w_6R8t-BwAA__95MujG">