diff options
author | Frank Laub <frank.laub@intel.com> | 2020-02-24 16:49:52 -0800 |
---|---|---|
committer | Frank Laub <frank.laub@intel.com> | 2020-02-24 16:54:21 -0800 |
commit | fe210a1ff2e90093e210bcbcc1184308903c7bdb (patch) | |
tree | dec1a69e48d3256c2d335ab8d8ec59e543180fc0 /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | 4e45ef4d77b74350ea5a64a216b046ea6be1b96f (diff) | |
download | llvm-fe210a1ff2e90093e210bcbcc1184308903c7bdb.zip llvm-fe210a1ff2e90093e210bcbcc1184308903c7bdb.tar.gz llvm-fe210a1ff2e90093e210bcbcc1184308903c7bdb.tar.bz2 |
[MLIR] Add std.atomic_rmw op
Summary:
The RFC for this op is here: https://llvm.discourse.group/t/rfc-add-std-atomic-rmw-op/489
The std.atmomic_rmw op provides a way to support read-modify-write
sequences with data race freedom. It is intended to be used in the lowering
of an upcoming affine.atomic_rmw op which can be used for reductions.
A lowering to LLVM is provided with 2 paths:
- Simple patterns: llvm.atomicrmw
- Everything else: llvm.cmpxchg
Differential Revision: https://reviews.llvm.org/D74401
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions