AMDGPU/SI: Don't emit group segment global variables
authorTom Stellard <thomas.stellard@amd.com>
Wed, 2 Dec 2015 17:00:42 +0000 (17:00 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 2 Dec 2015 17:00:42 +0000 (17:00 +0000)
commit26ecf8e5acc30aee067dc759723a33ec24858485
treed39f49807f1f424fffdaed8376429d9ad481024f
parent26a5db075f0b48f6e539ebff21c060264935ea01
AMDGPU/SI: Don't emit group segment global variables

Summary: Only global or readonly segment variables should appear in object files.

Reviewers: arsenm

Subscribers: arsenm, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254519 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
lib/Target/AMDGPU/AMDGPUAsmPrinter.h
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
test/CodeGen/AMDGPU/hsa-group-segment.ll [new file with mode: 0644]