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

    <tr>
        <th>Summary</th>
        <td>
            [GISel] Libcall legalization in LegalizerHelper does not support sret.
        </td>
    </tr>

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

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

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

<pre>
    fp128 libcalls on RISC-V RV32 requires sret, but this is not currently supported. The code path never calls `canLowerReturn`

CC: @aemerson @arsenm 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxEkctu2zwQhZ9mtBlEIEcXxwst9Nvw3wBeOUX2FDmS2NKkSlIu0qcvLAXoihwczOV8R6VkJ8_cQfMfNOdCrXkOscthWTjqYgjmsxsXSa_o7KCVcwmDx9vb--nlA28fFWHkX6uNnDBFzkAnHNaMebYJbUIfMuo1RvbZfWJalyXEzKbE7zOjDoZxUXlGzw-OuI-HVmjlr-E3xxvnNXpoBYgeRH86QdUj1ELxnWMKfvvHxP6Ohekqc6yOquBOHqpKylbItpg7bsyBj0dtxteRD2OtR0GSzUhKq0EaUdiOBNWSBIlGtE1bClOrRh6UrsexqniEWvBdWVc697iXIU6FTWnlTspXamTh1MAubfyIBqV_sjdQ9TsiIAI6AdGzF6p-cmFQziZ2T6U5F7F7Ki_DOiWohbMpp397ss1uS-b_t3d20JzxuoeAjifl7B-VbfBoPV73muM3dgtHNIF3-F_It3DKYo2um3NeElQ90AXoMtk8r0Opwx3osh25Py9LDD9YZ6DL5jYBXb4MPzr6GwAA__8mXrg6">