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

    <tr>
        <th>Summary</th>
        <td>
            -ir-dump-directory should default to writing binary bitcode
        </td>
    </tr>

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

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

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

<pre>
    The -ir-dump-directory debug flag currently outputs textual IR. I assume this is inherited from the behavior of the various -print-* options. If we're writing to a file, we should default to binary. This results in smaller files, and for bug reports a more stable reproducer for the future. 
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxskcGO3CAQRL8GX1q2bMCe9YHDJtFIc432B7Bp20QYrKaZyfx95MlGOSQSEgJU9Ksqm7NfI6IR_RfRf6ts4S2RsZQx7tWU3NN8bAi1p9qV_aidJ5w50RMcTmWFJdgV5kKEkcMTUuGjcAbGn1xsgNv3Bm5gcy47Am8-w7nihuQZHSyUduANYcLN3n0iSMvrfLfkU8lQH-Qj10K-QzrYp5gbuC3wQCEvhPAgzz6uwAksLD6gkF_hgZC3VIIDh4stgc_nyUdLzwY-TgbCXAKfIJB3GwLSS5xPtY0OlkRwmiM8EnEGC3sihMx2CnjeUnJlPlWJXrhL4ULYQOWMcqMabYWmu2ilxqHTXbWZ2XZy7odeaS1n1B3iMPbdmx6nS9uOA1beyFb2rVJdq7WUXdMOWr0Ns0Ld9W9oF6Fb3K0PTQj3vUm0Vj7ngqZTarhcqmAnDPnVopQYNxtn3DGykPKslcwpq6eyZqHb4DPnvx-x54DmPxX_G-OfwH_HCZPnOTmsCgWzMR9ZqHchr0JeV89bmZo57UJez0mfW31Q-oEzC3l98Wchr58W7kb-CgAA___o5N33">