[flang][OpenMP] Support lowering to MLIR for ordered clause
authorPeixin-Qiao <qiaopeixin@huawei.com>
Tue, 17 May 2022 07:07:52 +0000 (15:07 +0800)
committerPeixin-Qiao <qiaopeixin@huawei.com>
Tue, 17 May 2022 07:07:52 +0000 (15:07 +0800)
commitf305ac3d5d0e02df68efbad42ab9c209f99d51a7
tree8d02bc5b3563b76a7561f67174ec194a388140d6
parent63c81b23bebed8ca39cf73715952fd40947b5b02
[flang][OpenMP] Support lowering to MLIR for ordered clause

This supports the lowering parse-tree to MLIR for ordered clause in
worksharing-loop directive. Also add the test case for operation
conversion.

Part of this patch is from the fir-dev branch of
https://github.com/flang-compiler/f18-llvm-project.

Co-authored-by: Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
Reviewed By: kiranchandramohan, NimishMishra

Differential Revision: https://reviews.llvm.org/D125456
flang/lib/Lower/OpenMP.cpp
flang/test/Lower/OpenMP/omp-wsloop-ordered.f90 [new file with mode: 0644]