HomePhabricator

Added atomic_fetch_min, max, umin, umax intrinsics to clang.

Description

Added atomic_fetch_min, max, umin, umax intrinsics to clang.

These intrinsics work exactly as all other atomic_fetch_* intrinsics and allow to create *atomicrmw* with ordering.
Updated the clang-extensions document.

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

Details

Committed
delenaMay 13 2018, 12:45 AM
Differential Revision
D46386: Adding __atomic_fetch_min/max intrinsics to clang
Branches
Unknown
Tags
Unknown