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

    <tr>
        <th>Summary</th>
        <td>
            flang does not respect datalayout's alloca address space
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            flang
      </td>
    </tr>

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

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

<pre>
    The fix in be7b385f3649ab885b61a37b171599827e1d4995 for stacksave/stackstore is incomplete. These and the other intrinsics shouldn't be using hardcoded types with manually mangled intrinsic calls. This needs to account for the alloca address space (and in the other cases, the address space of the incoming operands)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxskUuO3iAQhE-DN635ZfCThRd5yCeYCzTQtkkwWDSe5L99ZE-kSaRZ0UJF1UcXMvs1Ek2i-yq67xWeZUt5wswU98ok95xeN4LF_wYfwdBgmrFbmr7VaMaxM73EZjBykJ3WoxpIulbrDpaUgQvan4xvJNT8PpeUCTyDjzbtR6BCD3jdiAkwOigbQSobZfCxZB_ZWwbe0hlcFGooYAhO9nGFDbOzyZGD8jyI4ZcvG-wYTwzheQ1rIPfhAhZD4CvKM0Qix1ASoLXpjOVGvaIxhGQR0LlMzMAHWgKhxgvNx3_oLDKxUN_eX_0nT8t9ef_vAk0HZYyOhdKVmxqnG40VTbLXsu972TfVNrnRyM40pE09DqarO9tLjbRI01CHg638pGrV1KOspZR93TzM4JbWGIl2rMm4WrQ17ejDI4S3_ZHyWnnmk6a-7bSqAhoKfPer1BIwrkKpq-o8XfoXc64s2jp4LvzhUHwJNN1ycIkYYiqQiQ-yBRwWDPhMZxFq4E83V505TFspB4vmi1CzUPPqy3aah027UPMV9Pd4OXL6QbYINd_cLNR8o_8JAAD__5h24Ss">