[AMDGPU] Disable LDS lowering for GFX shaders
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Fri, 16 Jul 2021 16:15:10 +0000 (09:15 -0700)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 20 Jul 2021 09:55:25 +0000 (02:55 -0700)
commit9dc26366230447179ce28ba503b66767373124ec
tree31d1324b31292b757dda912c51a9183554ca73cd
parent43234b1595125ba2b5c23e7b28f5a67041c77673
[AMDGPU] Disable LDS lowering for GFX shaders

Apparently these need external LDS symbols to remain.

Fixes: SC1-3279

Differential Revision: https://reviews.llvm.org/D106288
llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
llvm/test/CodeGen/AMDGPU/lower-kernel-lds.ll