Page MenuHomePhabricator

[mlir][openacc] Add acc.data operation verifier
ClosedPublic

Authored by clementval on Sep 25 2020, 12:54 PM.

Details

Summary

Add a basic verifier for the data operation following the restriction from the standard.

Diff Detail

Event Timeline

clementval created this revision.Sep 25 2020, 12:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 25 2020, 12:54 PM
clementval requested review of this revision.Sep 25 2020, 12:54 PM
rriddle added inline comments.Sep 28 2020, 10:01 AM
mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
646

nit; Return the error directly instead of having an explicit return failure.

Address review comments

This revision is now accepted and ready to land.Sep 28 2020, 1:40 PM
clementval marked an inline comment as done.

Rebase

This revision was landed with ongoing or failed builds.Sep 28 2020, 6:22 PM
This revision was automatically updated to reflect the committed changes.