This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Disable LDS lowering for GFX shaders
ClosedPublic

Authored by rampitec on Jul 19 2021, 10:25 AM.

Details

Summary

Apparently these need external LDS symbols to remain.

Fixes: SC1-3279

Diff Detail

Event Timeline

rampitec created this revision.Jul 19 2021, 10:25 AM
rampitec requested review of this revision.Jul 19 2021, 10:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2021, 10:25 AM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm added inline comments.Jul 19 2021, 1:12 PM
llvm/test/CodeGen/AMDGPU/lower-kernel-lds.ll
70

I think the relocations are only used for external LDS declarations

rampitec updated this revision to Diff 359890.Jul 19 2021, 1:20 PM
rampitec marked an inline comment as done.

Updated test.

dstuttard accepted this revision.Jul 20 2021, 2:30 AM

Thanks Stas - LGTM

This revision is now accepted and ready to land.Jul 20 2021, 2:30 AM
This revision was landed with ongoing or failed builds.Jul 20 2021, 2:55 AM
This revision was automatically updated to reflect the committed changes.