This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Add parser support for the force modifier in the collapse clause
ClosedPublic

Authored by clementval on Jun 1 2023, 10:54 PM.

Details

Summary

This patch adds parser support for the force modifier on the collapse clause.
Lowering will currently hit a TODO as the MLIR representation of the acc.loop
might need some update.

Diff Detail

Event Timeline

clementval created this revision.Jun 1 2023, 10:54 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
clementval requested review of this revision.Jun 1 2023, 10:54 PM
kiranchandramohan accepted this revision.Jun 5 2023, 9:42 AM

LG.

If this modifier came in new in the OpenACC 3.3 spec, it might be good to mention in the commit message.

flang/lib/Lower/OpenACC.cpp
919

Nit: May be ACC Collapse force modifier

This revision is now accepted and ready to land.Jun 5 2023, 9:42 AM