AMDGPU: Don't emit amd_kernel_code_t for callable functions
This is inserted directly in the text section. The relocation for the function ends up resolving to the beginning of the amd_kernel_code_t header rather than the actual function entry point. Also skip some of the comments for initialization that only makes sense for kernels. llvm-svn: 300736
Loading
Please sign in to comment