[PATCH] D109901: [AMDGPU] Legalize initialized LDS variables
Christudasan Devadasan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 16 11:00:15 PDT 2021
cdevadas created this revision.
cdevadas added a reviewer: arsenm.
Herald added subscribers: foad, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
cdevadas requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
We don't allow an initializer for LDS variables
and there is an early abort during instruction
selection. This patch legalizes them by ignoring
the init values. During assembly emission, proper
error reporting already exists for such instances.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109901
Files:
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-lds-initializer.ll
llvm/test/CodeGen/AMDGPU/legalize-lds-initializer.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109901.372997.patch
Type: text/x-patch
Size: 6731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210916/1c7b590b/attachment.bin>
More information about the llvm-commits
mailing list