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
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 61687 lib/Target/AMDGPU/SIISelLowering.h
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/gv-offset-folding.ll
|