[all-commits] [llvm/llvm-project] 61807f: [mlir][openacc] Add wait attribute and variadic op...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Fri Jun 30 10:05:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 61807f5c295814207f71aebf6438b9c00aedce9f
https://github.com/llvm/llvm-project/commit/61807f5c295814207f71aebf6438b9c00aedce9f
Author: Valentin Clement <clementval at gmail.com>
Date: 2023-06-30 (Fri, 30 Jun 2023)
Changed paths:
M flang/lib/Lower/OpenACC.cpp
M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
M mlir/test/Dialect/OpenACC/ops.mlir
Log Message:
-----------
[mlir][openacc] Add wait attribute and variadic operand
OpenACC 3.2 allowed the wait clause to the data construct. This patch
adds a unit attribute and a variadic operand to the data operation to model
the wait clause in a similar way it was added to other data operation.
The attribute models the presence of the clause without any argument. When
arguments are provided they are placed in the wait operand.
Depends on D154111
Reviewed By: razvanlupusoru
Differential Revision: https://reviews.llvm.org/D154131
More information about the All-commits
mailing list