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

    <tr>
        <th>Summary</th>
        <td>
            Front-end crash in SelectionDAG::LegalizeTypes in clang++ 16.0.0
        </td>
    </tr>

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

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

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

<pre>
    Output and generated repro script: https://gist.github.com/al13n321/768e2bda4d379b348d8d3d262d457786
Preprocessed source (13 MB): https://gist.github.com/al13n321/4dda8f37ab3193548f4fbad550b57162

Can also be reproduced like this:
 * Clone https://github.com/ClickHouse/ClickHouse
 * Check out this PR: https://github.com/ClickHouse/ClickHouse/pull/49367 (branch origin/enc, revision b3991710fba6626967d1c4fab71e4c9af62ba31e)
 * `mkdir build`, `cd build`, `cmake ..`, `cd ..`
 * Run `clang++` with this command line: https://gist.github.com/al13n321/eff14e9f48be86be693b0b8349c16709
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU9tutDYQfhpzYwX5hMEXXGw2or1o1V9_-wI-DOCu117ZJlH69BVsqyRKVf2REMjM8J2Y0aX4JQKMqHtE3VOjt7qmPOpAeeSMNia51_G3rd62inV0eIEIWVdwOMMtJ1xs9reK-Amvtd4K4ifEJsSmxZfaLr6um2ltuiI2_QuJ2NTLAZhxWjjeK8PF4AbHHZPMia7vB4nIEyKnbweDhVLA4ZK2bAEjNlCOf31ETH2RUzinh5n32nCqeCeGWcxGu64jpuupZHfO-_2sI9ahJGzgbtNtFhwO_gK4rv5gPBoxYid8DinCJynvVJyDt5ef01bg4-EdxAr2gtNWD3j87ft_mfsBRDbdthB2t4rLfk_LZB3tilP2i4-ITRAtYmec4dkXnyI2XCnaUzIbLSWTSvaOWjFr01MQVulZMqM5hT3wN71IkuvF-YzN5oNDkuyYSBLrPr256gvgtv3Qcz--wX3f4lEJOi6IPe6XJPjF1_Weh03X6z58wUf44m-HeaYC1CwGA4M0IBU3xAxcKEtlT1TjRu4UV7qBkcphoF2n2NCsIxWm68k8MzEIJakUQmgluNC9sVI62viREcaJ5IQRysjQWugsmbnputkI4DMSBK7ahzaE52ub8tL4UjYYJZecNEEbCOVYO8YivOCjiBjbtzCP-zcPZlsKEiT4UssbSvU1wDjlFOsDRIdt1mXFPuLfIYCtPsWn0097Ovz0Cyw6-L_gj9cblL3lXcSYypa0pNlyGP9n1Hbafx4Pt5z-BFsRmw6xBbHpMPN3AAAA__97Okpn">