[MLIR][OpenMP] Added omp.sections and omp.section
authorShraiysh Vaishay <Shraiysh.Vaishay@amd.com>
Sat, 6 Nov 2021 13:21:35 +0000 (18:51 +0530)
committerShraiysh Vaishay <Shraiysh.Vaishay@amd.com>
Sat, 6 Nov 2021 13:57:35 +0000 (19:27 +0530)
commit19a7e4729da58a968e2e5fccfc6fff1ec4dc4a2d
tree550d07f5d3d3cf8107ca1ca08497ab35c1915551
parenta30ec4778a479da15f53811a1c79484078e00858
[MLIR][OpenMP] Added omp.sections and omp.section

Added omp.sections and omp.section operation according to the
section 2.8.1 of OpenMP Standard 5.0.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D110844
mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
mlir/test/Dialect/OpenMP/invalid.mlir
mlir/test/Dialect/OpenMP/ops.mlir