HomePhabricator

Resubmit r268719 - AMDGPU/SI: Add amdgpu_kernel calling convention. Part 2.

Authored by nhaustov on Jul 1 2016, 3:00 AM.

Description

Resubmit r268719 - AMDGPU/SI: Add amdgpu_kernel calling convention. Part 2. This was reverted in r268740 because of problems with corresponding Clang change. Clang change was updated and resubmitted in r274220.

Check calling convention in AMDGPUMachineFunction::isKernel

This will be used for AMDGPU_HSA_KERNEL symbol type in output ELF.

Also, in the future unused non-kernels may be optimized.

Reviewers: tstellarAMD, arsenm

Subscribers: arsenm, joker.eph, llvm-commits

Differential Revision: http://reviews.llvm.org/D19917

llvm-svn: 274341

Details

Committed
nhaustovJul 1 2016, 3:00 AM
Differential Revision
D19917: AMDGPU/SI: Add amdgpu_kernel calling convention.
Parents
rG5196b88f072a: [AMDGPU] Assembler: support SDWA for VOPC instructions
Branches
Unknown
Tags
Unknown