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

    <tr>
        <th>Summary</th>
        <td>
            [Bug]: error: ran out of registers during register allocation with -fsanitize=address and -target armv7-unknown-linux
        </td>
    </tr>

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

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

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

<pre>
    The code is pretty big as I haven't spent enough time reducing it. But the repro test case can be found here:

https://godbolt.org/z/WafcG8G95

$ clang++ -std=c++20 -target armv7-unknown-linux -fsanitize=address -mllvm -asan-use-stack-safety=0
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kc9u2zwQxJ-Guixk0Cspjg46xDAUfPcP6HkpriQmNCmQS6fJ0xdyUrQoil74Z4glZuZHObslMA-qO6vuUlGRNaaBtq28MFcm2vfh_5VhipbBZdgSi7yDcQtQhv9gpRsHhSeBvHEQ4BDLsoK4K0NiWyYXFnBygHMRkHUXtxRBOAtMlBkmCmAY5liChZUTq-ZJ6YvSX-sqsuVdw1HhuERropdDTIvC8UPh-I3m6fnxue9-H1LYwuQpLArPCs9QZ7GquUyfV9RQC6WFBShdb6e6hNcQ30LtXSjfoZ4zBSfug1VzIWsT5wz11fvbFWrKFOqSuc5C02udaWZ5V81FV3ZobN_0VPFwPKHuur7pu2odzENP9sQ902yY-tY2hki3Hc1dx0YfKzegxlafdI9H3XfdQZ_ahxkfj2bWSKZvVKv5Ss4fdgt79MrlXHjoHxGx8mTY5zs_xMBvcH9UiDvONOwztSlLVq32Lkv-9Ys48Xfw57Ko7qKaJ-CUYtoPiQLEIhBnSLy4LJwy2JJ2nD8FIO_jROJigDcn69-bo2D_VXdVkh_-gOxkLeYwxavCcXf7tdVbii88icLxnjErHD87uA34IwAA___Lkejs">