This is an archive of the discontinued LLVM Phabricator instance.

[flang] Single construct translation from PFT to FIR
ClosedPublic

Authored by shraiysh on Mar 23 2022, 9:28 AM.

Details

Summary

This patch adds translation for single construct along with nowait
clause from PFT to FIR.

Allocate clause is added as a TODO as handleAllocateClause is added in
D122302.

Diff Detail

Event Timeline

shraiysh created this revision.Mar 23 2022, 9:28 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
Herald added a subscriber: mehdi_amini. · View Herald Transcript
shraiysh requested review of this revision.Mar 23 2022, 9:28 AM

LGTM.

flang/lib/Lower/OpenMP.cpp
211

Nit: nowait will become an unused variable. We have CI running with Werror.

This revision is now accepted and ready to land.Mar 23 2022, 7:12 PM
shraiysh updated this revision to Diff 417826.Mar 23 2022, 10:02 PM

Addressed comment.

This revision was automatically updated to reflect the committed changes.