This is an archive of the discontinued LLVM Phabricator instance.

[Libomptarget] Revert new variable sharing to use the old method
ClosedPublic

Authored by jhuber6 on Jul 27 2021, 12:03 PM.

Details

Summary

The new method of sharing variables introduces a __kmpc_alloc_shared call
that cannot be removed in the middle end because of its non-constant argument
and unconnected free. This patch reverts this to the old method that used a
static amount of shared memory for sharing variables.

Diff Detail

Event Timeline

jhuber6 requested review of this revision.Jul 27 2021, 12:03 PM
jhuber6 created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2021, 12:03 PM
This revision is now accepted and ready to land.Jul 27 2021, 12:28 PM
This revision was landed with ongoing or failed builds.Jul 27 2021, 3:14 PM
This revision was automatically updated to reflect the committed changes.