[all-commits] [llvm/llvm-project] 667ee5: [OpenMP][Flang][MLIR] Add MLIR support for OpenMP ...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Mon Jun 12 04:38:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 667ee52551a7cf31f30b95acdb80cf0ed470a1be
https://github.com/llvm/llvm-project/commit/667ee52551a7cf31f30b95acdb80cf0ed470a1be
Author: Sergio Afonso <safonsof at amd.com>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
M mlir/test/Dialect/OpenMP/ops.mlir
Log Message:
-----------
[OpenMP][Flang][MLIR] Add MLIR support for OpenMP requires directive
This patch introduces an MLIR attribute to the OpenMP dialect
representing the clauses that a 'requires' directive can define.
The `OffloadModuleInterface` is also updated to provide methods to get
and set a new dialect attribute `omp.requires`, to allow storing and using this
information during the lowering stages to LLVM IR.
Differential Revision: https://reviews.llvm.org/D147214
More information about the All-commits
mailing list