[mlir][OpenMP] Add aligned clause definition to simd construct
authorDominik Adamski <dominik.adamski@amd.com>
Thu, 20 Oct 2022 09:29:57 +0000 (04:29 -0500)
committerDominik Adamski <dominik.adamski@amd.com>
Tue, 1 Nov 2022 16:07:53 +0000 (11:07 -0500)
commit25243d717dc944bca1b6441686815be84ec8bbf0
tree42ba13ce17ef808802fa8b3f3ca1448571ec1f96
parentd4c61314420ca8794ad6d2588566c64109482505
[mlir][OpenMP] Add aligned clause definition to simd construct

simd aligned construct is represented as pair of variable which needs
to be aligned and corresponding alignment value.

Added parser, printer and verifier of aligned clause. MLIR tests were
updated to test correctness of MLIR definition of aligned clause.

Differential Revision: https://reviews.llvm.org/D135865

Reviewed By: kiranchandramohan
flang/lib/Lower/OpenMP.cpp
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
mlir/test/Target/LLVMIR/openmp-llvm.mlir