HomePhabricator

[OpenMP] libomp: add atomic functions for new OpenMP 5.1 atomics.

Authored by AndreyChurbanov on Oct 13 2021, 11:02 AM.

Description

[OpenMP] libomp: add atomic functions for new OpenMP 5.1 atomics.

Added functions those implement "atomic compare".
Though clang does not use library interfaces to implement OpenMP atomics,
the functions added for consistency.
Also added missed functions for 80-bit floating min/max atomics.

Differential Revision: https://reviews.llvm.org/D110109