[all-commits] [llvm/llvm-project] b79751: [MLIR] Add conversion from AtomicRMWOp -> GenericA...

Alexander Belyaev via All-commits all-commits at lists.llvm.org
Tue May 5 01:33:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b79751e83d7e50aa897049e9831dff840926d368
      https://github.com/llvm/llvm-project/commit/b79751e83d7e50aa897049e9831dff840926d368
  Author: Alexander Belyaev <pifon at google.com>
  Date:   2020-05-05 (Tue, 05 May 2020)

  Changed paths:
    M mlir/docs/Passes.md
    M mlir/include/mlir/Dialect/StandardOps/CMakeLists.txt
    A mlir/include/mlir/Dialect/StandardOps/Transforms/CMakeLists.txt
    A mlir/include/mlir/Dialect/StandardOps/Transforms/Passes.h
    A mlir/include/mlir/Dialect/StandardOps/Transforms/Passes.td
    M mlir/include/mlir/InitAllPasses.h
    M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
    M mlir/lib/Dialect/StandardOps/CMakeLists.txt
    A mlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/StandardOps/Transforms/ExpandAtomic.cpp
    A mlir/lib/Dialect/StandardOps/Transforms/PassDetail.h
    M mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
    A mlir/test/Dialect/Standard/expand-atomic.mlir

  Log Message:
  -----------
  [MLIR] Add conversion from AtomicRMWOp -> GenericAtomicRMWOp.

Adding this pattern reduces code duplication. There is no need to have a
custom implementation for lowering to llvm.cmpxchg.

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




More information about the All-commits mailing list