[MLIR][OpenMP] Add support for safelen clause
authorPrabhdeep Singh Soni <prabhdeep.singh.soni2@huawei.com>
Fri, 19 Aug 2022 20:40:39 +0000 (16:40 -0400)
committerPrabhdeep Singh Soni <prabhdeep.singh.soni2@huawei.com>
Wed, 24 Aug 2022 16:23:31 +0000 (12:23 -0400)
commit172fe1706d83832a330170f43fe52aab1b75e7de
tree45e72df4253ebed2c9e80adcad1e4dbbd64000fa
parentcfef6561a782cd6a927e779d0e0a98a885316597
[MLIR][OpenMP] Add support for safelen clause

This supports translation from MLIR to LLVM IR using OMPIRBuilder for
OpenMP safelen clause in SIMD construct.
flang/lib/Lower/OpenMP.cpp
mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
mlir/test/Dialect/OpenMP/invalid.mlir
mlir/test/Dialect/OpenMP/ops.mlir
mlir/test/Target/LLVMIR/openmp-llvm.mlir