[all-commits] [llvm/llvm-project] d2f0fe: [mlir][OpenMP] Added assemblyFormat for atomic and...

Shraiysh via All-commits all-commits at lists.llvm.org
Tue Mar 1 21:52:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2f0fe23d2375da1b8caf510cc3c481398694101
      https://github.com/llvm/llvm-project/commit/d2f0fe23d2375da1b8caf510cc3c481398694101
  Author: Shraiysh Vaishay <Shraiysh.Vaishay at amd.com>
  Date:   2022-03-02 (Wed, 02 Mar 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Dialect/OpenMP/invalid.mlir
    M mlir/test/Dialect/OpenMP/ops.mlir

  Log Message:
  -----------
  [mlir][OpenMP] Added assemblyFormat for atomic and critical operations

This patch adds assemblyFormat for `omp.critical.declare`, `omp.atomic.read`,
`omp.atomic.write`, `omp.atomic.update` and `omp.atomic.capture`.

Also removing those clauses from `parseClauses` that aren't needed
anymore, thanks to the new assemblyFormats.

Reviewed By: NimishMishra, rriddle

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




More information about the All-commits mailing list