This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][libomp] Cleanup __kmpc_flush() code
ClosedPublic

Authored by jlpeyton on Aug 1 2022, 12:21 PM.

Details

Summary

Have __kmpc_flush() be simple KMP_MFENCE() which incorporates x86-specific logic and reduces to KMP_MB() for other platforms.

Diff Detail

Event Timeline

jlpeyton created this revision.Aug 1 2022, 12:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 1 2022, 12:21 PM
jlpeyton requested review of this revision.Aug 1 2022, 12:21 PM
hbae accepted this revision.Aug 25 2022, 8:15 AM

LGTM

This revision is now accepted and ready to land.Aug 25 2022, 8:15 AM
This revision was automatically updated to reflect the committed changes.