Changes from Git (git http://labmaster3.local/git/llvm-project.git)


  1. [MLIR] LLVM Dialect: add llvm.cmpxchg and improve llvm.atomicrmw custom (details)
Commit fffea2842d2807e6deabeb719774d83e3c490156 by frank.laub
[MLIR] LLVM Dialect: add llvm.cmpxchg and improve llvm.atomicrmw custom
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:
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
The file was modifiedmlir/test/Dialect/LLVMIR/roundtrip.mlir
The file was modifiedmlir/test/Target/llvmir.mlir
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/test/Dialect/LLVMIR/invalid.mlir
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/