<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/71064>71064</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[BOLT] X86/clang-nolbr.test fails with assertion added in #68617
</td>
</tr>
<tr>
<th>Labels</th>
<td>
BOLT
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
spupyrev
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
aaupov
</td>
</tr>
</table>
<pre>
https://github.com/llvm/llvm-project/commit/d0584e248d2dc9e9f425caed5983282e2749159d breaks upstream binary test `X86/clang-nolbr.test`:
https://lab.llvm.org/buildbot/#/builders/244/builds/19433
BOLT crashes with assertion added in https://github.com/llvm/llvm-project/pull/68617:
```
llvm-bolt.old: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/Transforms/Utils/CodeLayout.cpp:767: void {anonymous}::ExtTSPImpl::mergeChainPairs(): Assertion `minDensity > 0.0 && maxDensity > 0.0 && "incorrectly computed chain densities"' failed.
```
The test uses no-LBR (IP sampling) profile.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUVE2L5DYQ_TXyRbSRy7ZsH3zo2V7DwkCGZAK5BcmqbisrS0Yfs9P_Psje3iRk97BgJJeKKr33eCURgr5ZxJG0TwQgbGm7e3wjAKS9FCLFxflRiLS5t0I6dR-XGLdA6jOBicB003FJspzdSmAy5u2xnTbv_sI5Ephmt646_yjW9g1C0ytQ84DDtYF2Fqjaoa-hB4SuGap2UFR6FJ8DTVuIHsVKpbbC32nEECnh7I-e57ZG2NvJOiN9mTOEM1KfKWEXws7_BWmELDOo0vkbgUkmbZR0cU_WjwP0gcAETfM4yGE1NHV9tDzWp1-eX-nsRVgw0C86LlSEgD5qZ6lQChXVlv60RFsyhsDEe151ue5fF2Zax7eHe6F0JpbOqJ0vTItbkcD0xfnP6DN6Z-LpiOARvvf8T96ckkw2ppO9zv8H8YCmJYHp1Qsbrs6vWYXfozZ5_-AUPou7S7Gct43U545nuPTNaUVJ9ySss_fVpUC6S6ZRnz--x9ffXj6tmzniFf0NPyxC2xehs-A9gSG3OH9TkXC2antBG3S8U1J_pKxklAAnwOkq3n-QIQDazs57nKO509mtW4qo6Jwvo2ov0hiyr6GjV6ENqvK7Eh_r64KH4VLAQK07PT_9Sgn0n15oEOtmtL0RGOjm3VUbLAs11mqoB1HgWPGhH2redKxYxmoYsGZYSSaqa8U71V6r-aqqtpLIuMRCj8CgrioGVdN0LSsHXqFsO5DQiZnVA2kYrkKbbxYudAgJx65ivCmMkGjC1-nN7vw6uX48rJJugTTM6BDDPw2ijmaf-L2gvdDvj9Qu049tTqDeHVskb37-WdhJZFftPP4OAAD__8BqaLk">