diff options
author | Pierre van Houtryve <pierre.vanhoutryve@amd.com> | 2024-03-21 11:28:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-21 11:28:35 +0100 |
commit | ccb3a8feaa5b132dc829e55e069dde62008df4a8 (patch) | |
tree | a0db3eadc836b2366e29192092d6a58fd7131b0f /llvm/lib/Object/COFFImportFile.cpp | |
parent | 23de3862dce582ce91c1aa914467d982cb1a73b4 (diff) | |
download | llvm-ccb3a8feaa5b132dc829e55e069dde62008df4a8.zip llvm-ccb3a8feaa5b132dc829e55e069dde62008df4a8.tar.gz llvm-ccb3a8feaa5b132dc829e55e069dde62008df4a8.tar.bz2 |
[AMDGPU][LowerModuleLDS] Refactor partially lowered module detection (#85793)
Refactor the logic that checks if a module contains mixed
absolute/non-lowered LDS GVs.
The check now happens latter when the "worklists" are formed. This is
because in some cases (OpenMP) we can have non-lowered GVs in a lowered
module, and this is normal because those GVs are just unused and removed
from the list at some point before the end of `getUsesOfLDSByFunction`.
Doing the check later ensures that if a mixed module is spotted, then
it's a _real_ mixed module that needs rejection, not a module containing
an intentionally ignored GV.
Diffstat (limited to 'llvm/lib/Object/COFFImportFile.cpp')
0 files changed, 0 insertions, 0 deletions