AMDGPU/SI: Emit constant arrays in the .hsrodata_readonly_agent section
authorTom Stellard <thomas.stellard@amd.com>
Thu, 3 Dec 2015 03:34:32 +0000 (03:34 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 3 Dec 2015 03:34:32 +0000 (03:34 +0000)
commitd26f9217962b4fbe435341aadfc3950edd32c9a3
treea9a2ca30bd6ad7fb72bc4d1d4a59c297b43451bf
parent033f8711011afab6663cdd5515027f8245f808c4
AMDGPU/SI: Emit constant arrays in the .hsrodata_readonly_agent section

Summary: This is done only when targeting HSA.

Reviewers: arsenm

Subscribers: arsenm, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254587 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
lib/Target/AMDGPU/AMDGPUHSATargetObjectFile.cpp
lib/Target/AMDGPU/AMDGPUHSATargetObjectFile.h
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.cpp
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
test/CodeGen/AMDGPU/hsa-globals.ll