This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Use alignment information in HeapToShared
ClosedPublic

Authored by jhuber6 on Dec 27 2021, 12:04 PM.

Details

Summary

This patch uses the return alignment attribute now present in the
__kmpc_alloc_shared runtime call to set the alignment of the shared
memory global created to replace it.

Depends on D115971

Diff Detail

Event Timeline

jhuber6 created this revision.Dec 27 2021, 12:04 PM
jhuber6 requested review of this revision.Dec 27 2021, 12:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 27 2021, 12:04 PM
jhuber6 updated this revision to Diff 396328.Dec 27 2021, 12:16 PM

Changing default value to be an assertion, we shouldn't be creating globals on
values without known alignment.

jhuber6 edited the summary of this revision. (Show Details)Dec 27 2021, 12:17 PM
This revision is now accepted and ready to land.Dec 27 2021, 12:38 PM
This revision was landed with ongoing or failed builds.Dec 27 2021, 1:58 PM
This revision was automatically updated to reflect the committed changes.