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

    <tr>
        <th>Summary</th>
        <td>
            Backport #154109 to llvm21 (Fix incorrect return type inference for discarded blocks)
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            rejects-valid
      </td>
    </tr>

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

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

<pre>
    /cherry-pick ec4e6aa
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxEj82u2yAQhZ8GNigRDMbFCxa9qvwe_My1SYixBhw1b1-5tdTVSKOZc77Pt5aXDdEx88UA6mM9ts4AmPnF_dHXSu7fjoeaPo7BHFck-tz2HJ8C44Cj9zw5nSY9eY5O_TDGGA3a8tXpJEdlvdcQAqqUIsg02YAYx5C8kTw7kGCkVRbUILW9j3qSNo0QlUKvh8QGiS-fy72U9-teaeG5tQOdMgNIy4sPWNoFT_jA2Nvt7UtOlwO58_EWjqWxQZbcevsf1XMv6L58fO6VumCglRmUnESv4jwCJRjYOf8WeYuVCGMXhP2gTfTPjiJv30i4RRTflUTKLXpKmEQoNT4bg4kfVNza-96Y_slgZjAvua9HuMf6YjCfJde47VRPfAbzX8PGYL4k3w7-BAAA__-RmocV">