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

    <tr>
        <th>Summary</th>
        <td>
            Example where bugpoint does a better job than llvm-reduce
        </td>
    </tr>

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

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

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

<pre>
    [sample.zip](https://github.com/llvm/llvm-project/files/8477799/sample.zip)
Here is a sample reduced testcase where bugpoint was able to improve upon llvm-reduce's result. After feeding llvm-reduce's output into bugpoint, it cut out a few hundred more lines of IR. It may or may not be useful to look at the diff to figure out what bugpoint is doing better.

The exact reproduction steps are hard to share. The original reproducer is a register allocation issue, which are always super sensitive to the exact code. So far I've only been able to reproduce it using a specific clang build (the one provided by the rocm 5.0 release version)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVU8uSnDAM_Bq4qEJ5zbw4cNhkk8pek_yAsQVoY2zKj5mdfH1kJpm8TqmiMLbkVndLDN5c-2r_Nqpltdh8o7XaP1XyNKe0xqp9rOQHfiZKcx4a7RfeWHv-ubxZg39BnXg7ksXI62l3PB67jr9-g5RdJZ4q8fgRAwJFUHALQkCTNRpIGJNWEeEyl5QhT6snl-CiOHngxOSBFq52Rsird7BVv92u5DEyUMw2NfA4JgwwIhpy0z9ZPqc1J2Bkf69RyXdACTSfc5ipjXiBOTvD92DxzMaSQ747wvOnBp4TLOoKPmyL8wkGphRxzLaQtN5_BZUgzQiGxrGcjTRlhinol5ljd3XshPGF54CJaTc3k27vLwyAr0onlsa6WUIi1h0TrmwJw80qmIIe-QMbKPk-0ERO2fsVtmJzO-BEsRijrPVabUgUY8Yi_jKTnjdIZS_qGiHmlVMjukiJzpv36c5Ge8PVPrMqFeCZXeUE7-yVNaC79-pOoFibY9HIPV9R00gatFVFdCZrgGetgHuHUNpLhl0frlvB4PUC-0YwmsUyHGcMkanzONWmb03XdqpOlCz2719v8_TX-BiPRf7NXnjxA-OqP4anzsH2_z3sm3dl2ve700nWcz92YyfkgEezP0ilOiEEDoed7uQgD4fW1FYNaGP50yopHU_YD_sl_2419VJIKXYPrZC7TrSNMGMnWzOoh2N3OmFX7QQuimxTeDQ-THXoN0qsNHLQcnfjr6CKkSaHuJVjfJXT7EOvAvd0qbfK_cb8O79fX18">