aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2016-06-14 15:11:01 +0000
committerTom Stellard <thomas.stellard@amd.com>2016-06-14 15:11:01 +0000
commit5e6298b0f2b06c1b8c9713d2044576558e3186cb (patch)
tree4d21c72acddc71c7de1eb9ea3b2fbe63890749d2 /clang/lib/CodeGen/CodeGenModule.cpp
parentf8d00d5cac27171abd644c227fc4302a2bdc11c6 (diff)
downloadllvm-5e6298b0f2b06c1b8c9713d2044576558e3186cb.zip
llvm-5e6298b0f2b06c1b8c9713d2044576558e3186cb.tar.gz
llvm-5e6298b0f2b06c1b8c9713d2044576558e3186cb.tar.bz2
AMDGPU/SI: Refactor fixup handling for constant addrspace variables
Summary: We now use a standard fixup type applying the pc-relative address of constant address space variables, and we have the GlobalAddress lowering code add the required 4 byte offset to the global address rather than doing it as part of the fixup. This refactoring will make it easier to use the same code for global address space variables and also simplifies the code. Reviewers: arsenm, kzhuravl Subscribers: arsenm, kzhuravl, llvm-commits Differential Revision: http://reviews.llvm.org/D21154 llvm-svn: 272675
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions