This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Add ident_t flags for compiler OpenMP version
ClosedPublic

Authored by jlpeyton on Nov 2 2020, 10:34 AM.

Details

Summary

This patch adds the mask and ident_t function to get the
openmp version. It also adds logic to force monotonic:dynamic
behavior when OpenMP version less than 5.0.

The OpenMP version is stored in the format:
major*10+minor e.g., OpenMP 5.0 = 50

Diff Detail

Event Timeline

jlpeyton created this revision.Nov 2 2020, 10:34 AM
jlpeyton requested review of this revision.Nov 2 2020, 10:34 AM
This revision is now accepted and ready to land.Nov 2 2020, 1:30 PM
This revision was landed with ongoing or failed builds.Nov 5 2020, 9:15 AM
This revision was automatically updated to reflect the committed changes.