diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2016-06-14 20:29:59 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2016-06-14 20:29:59 +0000 |
commit | bf3e6e5bb40c43b9826e33ea5b3376f7da20e4cf (patch) | |
tree | 82d2d51f177b28a60973ceb3e0345fffe1d1a2bd /llvm/lib/CodeGen/Analysis.cpp | |
parent | 392638d7b156511882f419b0ea7d6b7757b7093a (diff) | |
download | bcm5719-llvm-bf3e6e5bb40c43b9826e33ea5b3376f7da20e4cf.tar.gz bcm5719-llvm-bf3e6e5bb40c43b9826e33ea5b3376f7da20e4cf.zip |
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.
Re-commit this after fixing a bug where we were trying to use a
reference to a Triple object that had already been destroyed.
Reviewers: arsenm, kzhuravl
Subscribers: arsenm, kzhuravl, llvm-commits
Differential Revision: http://reviews.llvm.org/D21154
llvm-svn: 272705
Diffstat (limited to 'llvm/lib/CodeGen/Analysis.cpp')
0 files changed, 0 insertions, 0 deletions