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)
commitf151a45ccd92c9cbbfda0b5676b045ab9e4b89c2
tree3109d4209afc5f35d3fd250ced9b0b6c7810a407
parent9b5c9580e3847862e67185910d0659ab5ce98be7
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

llvm-svn: 240829
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
llvm/test/CodeGen/AMDGPU/hsa.ll