AMDGPU/SI: Emit constant arrays in the .text section
authorTom Stellard <thomas.stellard@amd.com>
Thu, 10 Dec 2015 02:13:01 +0000 (02:13 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 10 Dec 2015 02:13:01 +0000 (02:13 +0000)
commit7d2a810fefbec714ee717e7090fea882c8d336ef
tree963077f29f23caf47396bbef35530f413a4bc20e
parent6052acda66656fc5764ca2e03de431c806e32fda
AMDGPU/SI: Emit constant arrays in the .text section

Summary:
This allows us to remove the END_OF_TEXT_LABEL hack we had been using
and simplifies the fixups used to compute the address of constant
arrays.

Reviewers: arsenm

Subscribers: arsenm, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255204 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
lib/Target/AMDGPU/AMDGPU.h
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
lib/Target/AMDGPU/AMDGPUAsmPrinter.h
lib/Target/AMDGPU/AMDGPUHSATargetObjectFile.cpp [deleted file]
lib/Target/AMDGPU/AMDGPUHSATargetObjectFile.h [deleted file]
lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
lib/Target/AMDGPU/AMDGPUTargetObjectFile.cpp [new file with mode: 0644]
lib/Target/AMDGPU/AMDGPUTargetObjectFile.h [new file with mode: 0644]
lib/Target/AMDGPU/CMakeLists.txt
lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp
lib/Target/AMDGPU/MCTargetDesc/AMDGPUFixupKinds.h
lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIInstrInfo.td
lib/Target/AMDGPU/SIInstructions.td
test/CodeGen/AMDGPU/global-constant.ll [new file with mode: 0644]