AMDGPU/SI: Set the code objects private segment size when targeting HSA.
authorTom Stellard <thomas.stellard@amd.com>
Tue, 15 Dec 2015 22:55:30 +0000 (22:55 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 15 Dec 2015 22:55:30 +0000 (22:55 +0000)
commit09dd945fa5dce92b9acdd8772e90ef574274c1b4
tree5965c0eac3c4010ccecdadc64d35c294e0e364de
parente956465289bde1ad371a92b73710b48ed791e56f
AMDGPU/SI: Set the code objects private segment size when targeting HSA.

Summary: I'm not sure how things worked before without this.

Reviewers: arsenm

Subscribers: arsenm, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255692 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
test/CodeGen/AMDGPU/large-alloca-compute.ll
test/CodeGen/AMDGPU/private-memory.ll