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

    <tr>
        <th>Summary</th>
        <td>
            `-print-changed` doesn't support `-filter-passes` in thinlto mode with lld.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

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

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

<pre>
    How to reproduce:

Build a simple program with `-fuse-ld=lld -flto=thin -Wl,-mllvm,-print-changed -Wl,-mllvm,-filter-passes="InstSimplifyPass"`. The log will report diff for every pass (if there are changes), not just for `InstSimplifyPass`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxlUUuPmzAQ_jXmMgKBeQQOPuw2itpbpVbq2eAxODIY-ZFV_n0HUqlarYTBnhm-l0ennuK7-4DowOPunUoTsvqNlVdW_nu_J2MVSAhm3S0CDc1ervBh4gKsK3OdAuZWsfpqaS7XNjrax8VskP-xjH_LV2sf67HZvdliPi1ym1F96WpjI_p8lyFgIAjG-Y8txF8Hr9HPn1SnElEW8HtBsG4mEdYewp2PoIzWoJ0HfKB_wgEDjPdGQ1zQI0haL2qCGYgQNhfhnkI8_yLcL2xElaGouq7q-7YamkyJWg31ILNookVx2P_kiQqgHIaN8UuEkPZT2ZnSJ3M0RvEcGVFasDqFrzwpwSJL3oolxj0cF8Fv9MzUS2MxOcrp9orr_BC5u-MU6WhCSIexW3tp2jpbhJZTi11TdZee92WFesBxHCYqV33XjTqzckQbBGvfWXvNjOAl52Vfl1XfdHVTDJXkSuq-75q6VFyxpsRVGlscxIXzc-bFqWFMc6CmNSGG_03yaeYN8cTn_C5Xg2FaVjQB_XGNxClTXJwX3sqHRMxOC-LU_xcBzdhI">