This is an archive of the discontinued LLVM Phabricator instance.

[mlir][openacc] Fix acc.declare attribute on operation
ClosedPublic

Authored by clementval on Jul 25 2023, 2:19 PM.

Details

Summary

The attribute on operations in ops.mlir were not DeclareAttr but
DataClauseAttr with the acc.declare attribute name. Update the test
and the verifier to work correctly with the expected DeclareAttr.

Diff Detail

Event Timeline

clementval created this revision.Jul 25 2023, 2:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 25 2023, 2:19 PM
clementval requested review of this revision.Jul 25 2023, 2:19 PM
razvanlupusoru accepted this revision.Jul 25 2023, 2:21 PM

Thank you for fixing this! My bad!

This revision is now accepted and ready to land.Jul 25 2023, 2:21 PM
This revision was landed with ongoing or failed builds.Jul 25 2023, 3:02 PM
This revision was automatically updated to reflect the committed changes.