This is an archive of the discontinued LLVM Phabricator instance.

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
emit relocations for local address space globals.

Diff Detail

Repository
rL LLVM

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.
• tstellarAMD added reviewers: nhaustov, arsenm.
• tstellarAMD added a subscriber: llvm-commits.
nhaustov accepted this revision.Jun 23 2016, 9:26 AM
nhaustov edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Jun 23 2016, 9:26 AM
This revision was automatically updated to reflect the committed changes.