[all-commits] [llvm/llvm-project] fffea2: [MLIR] LLVM Dialect: add llvm.cmpxchg and improve ...
Frank Laub via All-commits
all-commits at lists.llvm.org
Tue Jan 21 01:09:47 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fffea2842d2807e6deabeb719774d83e3c490156
https://github.com/llvm/llvm-project/commit/fffea2842d2807e6deabeb719774d83e3c490156
Author: Frank Laub <frank.laub at intel.com>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/test/Dialect/LLVMIR/invalid.mlir
M mlir/test/Dialect/LLVMIR/roundtrip.mlir
M mlir/test/Target/llvmir.mlir
Log Message:
-----------
[MLIR] LLVM Dialect: add llvm.cmpxchg and improve llvm.atomicrmw custom parser
Summary:
Add a `llvm.cmpxchg` op as a counterpart to LLVM IR's `cmpxchg` instruction.
Note that the `weak`, `volatile`, and `syncscope` attributes are not yet supported.
This will be useful for upcoming parallel versions of affine.for and generally
for reduction-like semantics (especially for reductions that can't make use
of `atomicrmw`, e.g. `fmax`).
Reviewers: ftynse, nicolasvasilache
Reviewed By: ftynse
Subscribers: merge_guards_bot, jfb, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72995
More information about the All-commits
mailing list