[OMPIRBuilder] Support ordered clause specified without parameter
authorPeixin-Qiao <qiaopeixin@huawei.com>
Fri, 1 Apr 2022 08:17:29 +0000 (16:17 +0800)
committerPeixin-Qiao <qiaopeixin@huawei.com>
Fri, 1 Apr 2022 08:17:29 +0000 (16:17 +0800)
commit3e7415a0ff30f7d310af4f8ee24269aa450889ba
treef2bd3cfff0a47f203d45b3d008697273027521af
parentc7ed65b4bcbd8c26704efc4193243831e3c13d3c
[OMPIRBuilder] Support ordered clause specified without parameter

This patch supports ordered clause specified without parameter in
worksharing-loop directive in the OpenMPIRBuilder and lowering MLIR to
LLVM IR.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D114940
llvm/include/llvm/Frontend/OpenMP/OMPConstants.h
llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
mlir/test/Target/LLVMIR/openmp-llvm.mlir