[all-commits] [llvm/llvm-project] 5ee500: [mlir][OpenMP] Remove clauses that are not being h...

Shraiysh via All-commits all-commits at lists.llvm.org
Fri Feb 18 11:43:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ee500acbbe7eadc1b46a289c8f7fc86a4be4af5
      https://github.com/llvm/llvm-project/commit/5ee500acbbe7eadc1b46a289c8f7fc86a4be4af5
  Author: Shraiysh Vaishay <Shraiysh.Vaishay at amd.com>
  Date:   2022-02-19 (Sat, 19 Feb 2022)

  Changed paths:
    M flang/lib/Lower/OpenMP.cpp
    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/Conversion/OpenMPToLLVM/convert-to-llvmir.mlir
    M mlir/test/Dialect/OpenMP/invalid.mlir
    M mlir/test/Dialect/OpenMP/ops.mlir
    M mlir/test/Target/LLVMIR/openmp-llvm.mlir

  Log Message:
  -----------
  [mlir][OpenMP] Remove clauses that are not being handled

This patch removes the following clauses from OpenMP Dialect:

 - private
 - firstprivate
 - lastprivate
 - shared
 - default
 - copyin
 - copyprivate

The privatization clauses are being handled in the flang frontend. The
data copying clauses are not being handled anywhere for now. Once
we have a better picture of how to handle these clauses in OpenMP
Dialect, we can add these. For the time being, removing unneeded
clauses.

For detailed discussion about this refer to [[ https://discourse.llvm.org/t/rfc-privatisation-in-openmp-dialect/3526 | Privatisation in OpenMP dialect ]]

Reviewed By: kiranchandramohan, clementval

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




More information about the All-commits mailing list