[mlir][OpenMP] Add nontemporal clause definition to simd construct
authorDominik Adamski <dominik.adamski@amd.com>
Thu, 22 Dec 2022 12:26:47 +0000 (06:26 -0600)
committerDominik Adamski <dominik.adamski@amd.com>
Thu, 19 Jan 2023 11:41:50 +0000 (05:41 -0600)
commite4ebe14fd16f9aa3ec38ccad3297636e23c7f40d
treecc2c0539897268ddc4f01d211d61924c3edeb9d9
parent658bf08f67d50ae0babd2d2b1e4f8c93d50c3f1d
[mlir][OpenMP] Add nontemporal clause definition to simd construct

simd nontemporal construct is represented as a list of variables
which have low locality accross simd iterations

Added verifier of nontemporal clause. MLIR tests were updated to test
correctness of MLIR definition of nontemporal clause.

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

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