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

PeixinQiao via All-commits all-commits at lists.llvm.org
Thu Oct 21 01:32:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b37e5187f22fc13079a2f6d0684ccc08ecfdf0a8
      https://github.com/llvm/llvm-project/commit/b37e5187f22fc13079a2f6d0684ccc08ecfdf0a8
  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