HomePhabricator

AMDGPU/SI: Add amdgpu_kernel calling convention. Part 1.

Authored by nhaustov on May 6 2016, 2:07 AM.

Description

AMDGPU/SI: Add amdgpu_kernel calling convention. Part 1.

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

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

For now, also accept SPIR_KERNEL for HCC frontend.

Also, add bitcode compatibility tests for missing calling conventions
except AVR_BUILTIN which doesn't have parse code.

Reviewers: tstellarAMD, arsenm

Subscribers: arsenm, joker.eph, llvm-commits
llvm-svn: 268717

Details

Committed
nhaustovMay 6 2016, 2:07 AM
Parents
rGa609e37ebd99: [sanitizer] Fix a crash when demangling Swift symbols
Branches
Unknown
Tags
Unknown