[all-commits] [llvm/llvm-project] dc2be8: [MLIR][OpenMP] Add support for ordered construct

PeixinQiao via All-commits all-commits at lists.llvm.org
Wed Oct 20 18:27:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc2be87ecf10f2f1cf05f638a72256387c78f1c1
      https://github.com/llvm/llvm-project/commit/dc2be87ecf10f2f1cf05f638a72256387c78f1c1
  Author: Peixin-Qiao <qiaopeixin at huawei.com>
  Date:   2021-10-21 (Thu, 21 Oct 2021)

  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
    M mlir/test/Target/LLVMIR/openmp-llvm.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Add support for ordered construct

This patch supports the ordered construct in OpenMP dialect following
Section 2.19.9 of the OpenMP 5.1 standard. Also lowering to LLVM IR
using OpenMP IRBduiler. Lowering to LLVM IR for ordered simd directive
is not supported yet since LLVM optimization passes do not support it
for now.

Reviewed By: kiranchandramohan, clementval, ftynse, shraiysh

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




More information about the All-commits mailing list