Fixes not finding the called global for AMDGPU
call pseudoinstructions. The call instruction can't
directly refer to a global, so we use a pseudo mirroring
the actual instruction's operands with an extra operand
appended to refer to the function.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Use a dyn_cast. It might be possible to see a call to something that isn't directly a Function
Comment Actions
I guess the sourcecode changes are in the earlier revision, they LGTM (I'd tend to remove the TODO comment).