HomePhabricator

[MLIR] Lower GenericAtomicRMWOp to llvm.cmpxchg.

Authored by pifon2a on Apr 22 2020, 8:23 AM.

Description

[MLIR] Lower GenericAtomicRMWOp to llvm.cmpxchg.

Summary:
Lowering is pretty much a copy of AtomicRMWOp -> llvm.cmpxchg
pattern.

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

Details