AMDGPU/SI: Emit amd_kernel_code_t in EmitFunctionBodyStart()
authorTom Stellard <thomas.stellard@amd.com>
Fri, 26 Jun 2015 21:14:58 +0000 (21:14 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 26 Jun 2015 21:14:58 +0000 (21:14 +0000)
commit0d1bd457c69df2fd8a2c687dbee76b476ec129b3
tree1595ee56d5cbeba5eb5860fd4954269682d9e985
parent64b906419e5affd63a20cf7d7b3f822f096dce48
AMDGPU/SI: Emit amd_kernel_code_t in EmitFunctionBodyStart()

Summary:
This way the function symbol points to the start of amd_kernel_code_t
rather than the start of the function.

Reviewers: arsenm

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240829 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
lib/Target/AMDGPU/AMDGPUAsmPrinter.h
test/CodeGen/AMDGPU/hsa.ll