Offset folding only works if you are emitting relocations, and we don't
emit relocations for local address space globals.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D21647
AMDGPU/SI: Make sure not to fold offsets into local address space globals ClosedPublic Authored by • tstellarAMD on Jun 23 2016, 9:13 AM.
Details Summary Offset folding only works if you are emitting relocations, and we don't
Diff Detail
Event Timeline• tstellarAMD retitled this revision from to AMDGPU/SI: Make sure not to fold offsets into local address space globals. • tstellarAMD updated this object. This revision is now accepted and ready to land.Jun 23 2016, 9:26 AM Closed by commit rL273765: AMDGPU/SI: Make sure not to fold offsets into local address space globals (authored by tstellar). · Explain WhyJun 24 2016, 7:06 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 61878 llvm/trunk/lib/Target/AMDGPU/SIISelLowering.h
llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/trunk/test/CodeGen/AMDGPU/gv-offset-folding.ll
|