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

    <tr>
        <th>Summary</th>
        <td>
            [RISCV] -mabi=lp64d without D says the abi is being ignored, but it isn't ignored
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            backend:RISC-V
      </td>
    </tr>

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

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

<pre>
    I think it used to be ignored before the check was moved to the RISCVISelLowering constructor. The call handling code gets the ABI from RISCVSubtarget which is not affected by the check in RISCVISelLowering's constructor.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkkc1u2zAQhJ-Guixs0Ku_-KBDEsOAgZ7qInf-rETWlCiQqxh--0JyirboiQCXs_xmRuXsh4moE_WbqE-FWtjF1HGcZ0qm0NE-uguw89MNPMOSyQJH0AR-mGIiC5r6mAjYERhH5gZ3lWGMn8-H6_X3y_X943Kl8C3eKflpABOnzGkxHNMefqxKFQI4NdnwHFuCgThv8te3C_Qpjs8910WzSgMx3J03DnyGKTKovifDK87jLxQ__f-5wDb_A1DYrrTH8qgK6g7NS3moUNaycJ1VTX84ttSSVsZYVChtpWylX6ytTaUL36HEUtayPByxLeW-bmSrJR562zdEuhaVpFH5sA_hc9zHNBQ-54W6ButSFkFpCnlLHlErc6PJivJ1Jd59CMS1j9St0p1ehiwqGXzm_GcZew5bc5tJUZ9gNyrtRXkKc1NZuHt2cWE4QVaPZ5hK-zUyTWvOXxUKfAe98Nqvz5PAln9PiiWFzjHPWZSvAs8Cz4Nnt-i9iaPA80rydezmFH-SYYHnzWMWeN5s_goAAP__TxTK6g">