aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFImportFile.cpp
diff options
context:
space:
mode:
authorPierre van Houtryve <pierre.vanhoutryve@amd.com>2024-03-21 11:28:35 +0100
committerGitHub <noreply@github.com>2024-03-21 11:28:35 +0100
commitccb3a8feaa5b132dc829e55e069dde62008df4a8 (patch)
treea0db3eadc836b2366e29192092d6a58fd7131b0f /llvm/lib/Object/COFFImportFile.cpp
parent23de3862dce582ce91c1aa914467d982cb1a73b4 (diff)
downloadllvm-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