[AMDGPU] Emit constant address space data in .rodata section and use relocations...
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Thu, 20 Oct 2016 18:12:38 +0000 (18:12 +0000)
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Thu, 20 Oct 2016 18:12:38 +0000 (18:12 +0000)
commit08326b6256b9d98d317ba8fc86678f7703480a14
treea76e4816be689fa81a2c050c3875438645022027
parente329a9fad62fe614496f7cccbd1e302299a41788
[AMDGPU] Emit constant address space data in .rodata section and use relocations instead of fixups (amdhsa only)

Differential Revision: https://reviews.llvm.org/D25693

llvm-svn: 284759
llvm/lib/Target/AMDGPU/AMDGPUTargetObjectFile.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.h
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
llvm/test/CodeGen/AMDGPU/global-constant.ll
llvm/test/CodeGen/AMDGPU/hsa-globals.ll
llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll