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

    <tr>
        <th>Summary</th>
        <td>
            Flaky test llvm\test\Transforms\MergeFunc\fold-weak.ll
        </td>
    </tr>

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

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

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

<pre>
    I've seen two cases where this test crashed opt with no obvious reason, on different bots. See:
https://lab.llvm.org/buildbot/#/builders/216/builds/14311
https://lab.llvm.org/buildbot/#/builders/214/builds/4806

The assertion on the first bot was:
```
Assertion failed: (!Align || *Align <= MaximumAlignment) && "Alignment is greater than MaximumAlignment!", file C:\buildbot-root\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\IR\Globals.cpp, line 123
```
The previous and next builds both had this test pass. The change where it failed had only test changes, and not to this test.

The second bot hasn't finished it's next build yet.

The last person to touch the test was @LebedevRI last week, changing opt command syntax to NPM. Which doesn't mean it's an NPM problem, but that might be when the problem started.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykVF1v6zYM_TXyCxHDlr-SBz9kLjIUWIfh7gJ7HGSLsbTKUiDKTfvvBylObrf1bUAQhxR1cnh4TEGkZ4vYs-Yn1jxlYg3K-f7iZtccstHJj_6Z8e4NgRAthKuDSRASXBV6hKA0QUAKMHlBCiW4S4CrDgqsAze-abcSeBTkLOMDOAtSn8_o0QYYXaAcfkdk1ZEVT6w4qhAuFCN-YvxkxJgb87bkzs-Mn8ZVGzm6kA6rewI9MX7iZXtPxLCsq7L835D1Z8h6X7Q3xNv3d4UgiNAH7WzsKyiEs_aU-oKroEdXrC22TwqPj1tnoQ1KVh2B8T3j5dHo2QLrBtYNwPhxi6uBVU_wIt71si4pt6ANjB-A8ZbxFhjnjzRogtmjCOghKGG_uFcyzuMwztogDJFmM9yV2HnnAmuGKNJuMsLOu_d9-2db70jj7qrt_ezi3V843UvjQ4-sGZ6_sWb42bhRGMqnyyX-j9EWoeTVl2pEHS8eb0YRVoLF9wA32aOSCpSQn3x2EUQ5xFuTEnbGzYg6bGqmcmfNx2bLVESRRgJ3AYL7AZf_e6SEk7MyjVAJsox3Ac7a6uRtHRjv6BND-MD_QhgRaaKnaAoHwa2TSu5IhK6CgNXFLziixLdvz7fyK-Jr5Jjoajun12hyyxJJ04cN4j1i_frbSw5_KD0pkA43egsKe6cmbKyBi3ejwSUijmuIPgiw6FkFGJNgN7duVUBB-IAyz2RfyUN1EBn2ZdsV-64rS56pXjb7GqtW7FvelOd2X0jRikoW3V42bVU1me55wXnJS86Lqmx4Xh-6qT60sp0E70QrWF3gIrR5vHyZJlqxbw71vsyMGNFQWkGcW7xCOowubZ4y3ye_jetMrC6MpkA_UIIOBvuTEa_bvDczxt-sGb57Yens_EKsGV7Qz3ha7cSa4eyM3F1RvObGZKs3_T_XxKyDWsd8ckvcGRHy9ni4np8SxbgYUgt_BwAA__-gcrPY">