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

    <tr>
        <th>Summary</th>
        <td>
            Global ISel does not preload kernel arguments
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            llvm:globalisel,
            mlir:amdgpu
      </td>
    </tr>

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

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

<pre>
    As I understand this, while Global ISel does use AMDGPULowerKernelArguments to annotate arguments, it does not have an implementation like here https://github.com/llvm/llvm-project/blob/3efe83291f07dcf2423065e63b826407d1ec2609/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp#L256

I'm not seeing much performance degradation in the case that I'm looking at, but it seems like missing functionality(?)

cc @kerbowa who seems to be working on pieces of this
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUUt1unDwQfRpzM_pWZgzs7gUXfImIVk2kSmkfwD8DuGtsZJus8vYVbKJU6lWvkAafM3N-ZEp29EQtq_9n9WMh1zyF2OYlLEuhgnlvuwQXWL2hmLL0BvJkE8MHuE3WETy5oKSDyys5MIESrImge3l8-v7zOdwofqPoyXVxXGfyOUEOIL0PWWYC-Tnd6Gy-433IMMk3AunBzouj7YXMNnhw9kowUSSYcl4SEx3DnmE_2jyt6qDDzLB37u3z898Swy_SmWGvXFAMe0EDnQSey4EfjR6wQsGbmhqhTthU_GhK0tjw8x88dsP9kHGkjeeujGH_enmRerKe-tXr7bqLH8JBLwtD8Yx1w3jHeHdheJx3SYnI-hHmVU-wUBxCnKXXBIbGKM1dn_WQJwItE0GeZIY73IVw3bAybz6pNW9eJaI53R2ZbUrb_-HjEulsfmd4YqJneL4fojWwil8pqnCTcJvCB0EOoAhuIe4bgofFkqYEYdhzLkwrzFmcZUFteRTN8Vg2J1FMrZJnZUoaUJa80idqqrLk6tQIUze1GXhhW-RY87IUJYqqEgdUVVNW6iwHohPXDas4zdK6w2b0IcSxsCmt1JaIRy4KJxW5tLcScc9CdOPeNZvIMUSGDwxxdjYy0cnZjMu6TevHIrZ7-GodE6u4symnryXZZkftX63dIloiuSANXPfKfrWzWKNr_7lxu5rEsP8Q9Nbi7wAAAP__VIsg6w">