[mlir][openacc] Add attributes to parallel op async, wait and self clauses
authorValentin Clement <clementval@gmail.com>
Mon, 21 Sep 2020 15:24:43 +0000 (11:24 -0400)
committerclementval <clementval@gmail.com>
Mon, 21 Sep 2020 15:25:36 +0000 (11:25 -0400)
commit2e2bcee05876305cb9b21b6b5e8e48dc6da58ede
tree7411345639702f4e0007804e3b079fcb4a86c32c
parent18a3ebcd3016d9bd1112d6804654758afabf8a98
[mlir][openacc] Add attributes to parallel op async, wait and self clauses

Add attributes for the async, wait and self clauses. These clauses can be present without
values. When this is the case they are modelled with an attribute instead of operands.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D87991
mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
mlir/test/Dialect/OpenACC/ops.mlir