This is an archive of the discontinued LLVM Phabricator instance.

[flang] Update PFTBuilder
ClosedPublic

Authored by clementval on Feb 22 2022, 9:03 AM.

Details

Summary

This patch update the PFTBuilder to be able to lower
the construct present in semantics.

This is a building block for other lowering patches that will be posted soon.

This patch is part of the upstreaming effort from fir-dev branch.

Diff Detail

Event Timeline

clementval created this revision.Feb 22 2022, 9:03 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Feb 22 2022, 9:03 AM
clementval edited the summary of this revision. (Show Details)Feb 22 2022, 9:03 AM
schweitz accepted this revision.Feb 22 2022, 9:39 AM
This revision is now accepted and ready to land.Feb 22 2022, 9:39 AM
PeteSteinfeld accepted this revision.Feb 22 2022, 9:50 AM

All builds and tests correctly and looks good.

This revision was automatically updated to reflect the committed changes.
peixin added a subscriber: peixin.Feb 25 2022, 5:05 PM

The lowering for OpenMP/OpenACC declarative constructs is upstreamed in this patch. However, there is no regression test for them. In addition, I found a bug when I look at lowering OpenMP Threadprivate directive. D120459 and D120460 address those two problems. D120460 is based on D120459. They are split for ease of review. @clementval Could you please help review them?