HomePhabricator

[mlir][openacc] Add if and device_type to update op

Authored by clementval on Oct 29 2020, 6:54 AM.

Description

[mlir][openacc] Add if and device_type to update op

Update op is modelling the update directive (2.14.4) from the OpenACC specs.
An if condition and a device_type list can be attached to the directive. This patch add
these two information to the current op.

Reviewed By: rriddle

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

Details