This isn't really usable, and requires using the
-amdgpu-fixed-function-abi flag to work.
Assumes a uniform call target, and will hit a verifier error if the
call target ends up in a VGPR. Also doesn't attempt to do anything
sensible for the reported register/stack usage.
I might be mistaken: Is this just emitting a call to nul if the symbol is not found? Does GSD here potentially represent a function pointer??