summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-01-30 21:05:18 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-01-30 21:05:18 +0000
commita3b72798af09724ab6b5e08a56031b8a06692f0b (patch)
treeb562df297ab3932f91160d5b0106021172697893 /llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
parente518e0bfe9326e32eca17bf532e4b58a07e4bc3a (diff)
downloadbcm5719-llvm-a3b72798af09724ab6b5e08a56031b8a06692f0b.tar.gz
bcm5719-llvm-a3b72798af09724ab6b5e08a56031b8a06692f0b.zip
[AMDGPU] Internalize non-kernel symbols
Since we have no call support and late linking we can produce code only for used symbols. This saves compilation time, size of the final executable, and size of any intermediate dumps. Run Internalize pass early in the opt pipeline followed by global DCE pass. To enable it RT can pass -amdgpu-internalize-symbols option. Differential Revision: https://reviews.llvm.org/D29214 llvm-svn: 293549
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud