This is an archive of the discontinued LLVM Phabricator instance.

[Flang][OpenMP] Fix lowering for threadprivate with HLFIR
ClosedPublic

Authored by kiranchandramohan on Aug 11 2023, 8:39 AM.

Details

Summary

HLFIR inserts hlfir.declare for threadprivate variables. Seek over
the hlfir.declare to find the threadprivate global symbol.

Diff Detail

Event Timeline

Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
kiranchandramohan requested review of this revision.Aug 11 2023, 8:39 AM
tblah accepted this revision.Aug 11 2023, 8:51 AM

LGTM, thanks for this!

This revision is now accepted and ready to land.Aug 11 2023, 8:51 AM
This revision was landed with ongoing or failed builds.Aug 11 2023, 9:26 AM
This revision was automatically updated to reflect the committed changes.