aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorKiran Chandramohan <kiran.chandramohan@arm.com>2023-08-23 11:37:00 +0000
committerKiran Chandramohan <kiran.chandramohan@arm.com>2023-08-23 11:37:17 +0000
commit8b834caa62a279a0b4136bf3c8950b4f7162308e (patch)
treea41dabb00bef1a15c9530b51860cf813c7c66bef /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parent869d231bc4ee353ddb1adfe35ba181ecc1af7e69 (diff)
downloadllvm-8b834caa62a279a0b4136bf3c8950b4f7162308e.zip
llvm-8b834caa62a279a0b4136bf3c8950b4f7162308e.tar.gz
llvm-8b834caa62a279a0b4136bf3c8950b4f7162308e.tar.bz2
[Flang][OpenMP] Fix HLFIR lowering for commonblock threadprivate
Commonblock names are not variables, but they can be marked as threadprivate in OpenMP. This requires the commonblock name to be bound to the address of the Commonblock. hlfir.declares are not required for these, but we should be able to retrieve the mlir Value corresponding to the Commonblock. This patch enables this by special casing the Commonblocks like procedures. Reviewed By: tblah, vzakhari Differential Revision: https://reviews.llvm.org/D158070
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions