AMDGPU/SI: Emit constant variables in the .hsatext section when targeting HSA
authorTom Stellard <thomas.stellard@amd.com>
Tue, 15 Dec 2015 22:39:36 +0000 (22:39 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 15 Dec 2015 22:39:36 +0000 (22:39 +0000)
commitaa98140781941712fa8ff3d3b70ab800c32c8510
tree28167881288dfcc8b340f6cab7053409ecdde340
parent2f080af4c09067699da3bd4e442254efdb0fc5e0
AMDGPU/SI: Emit constant variables in the .hsatext section when targeting HSA

Reviewers: arsenm

Subscribers: arsenm, llvm-commits

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

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