This will be used for AMDGPU_HSA_KERNEL symbol type in output ELF.
Also, in the future unused non-kernels may be optimized.
Differential D19917
AMDGPU/SI: Add amdgpu_kernel calling convention. nhaustov on May 4 2016, 6:51 AM. Authored by
Details This will be used for AMDGPU_HSA_KERNEL symbol type in output ELF. Also, in the future unused non-kernels may be optimized.
Diff Detail
Event Timeline
Comment Actions Also recognize SPIR_KERNEL as kernel for now to make sure other frontent (HCC) works. Comment Actions I'll also probably split this change into two parts and submit AMDGPUMachineFunction.* changes after corresponding Clang change. This will ensure frontends work. |