This is an archive of the discontinued LLVM Phabricator instance.

[flang] Handle module in lowering pass
ClosedPublic

Authored by clementval on Mar 2 2022, 8:27 AM.

Details

Summary

This patch enables the lowering of basic modules and functions/subroutines
in modules.

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

Diff Detail

Event Timeline

clementval created this revision.Mar 2 2022, 8:27 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Mar 2 2022, 8:27 AM
Herald added a project: Restricted Project. · View Herald Transcript
PeteSteinfeld accepted this revision.Mar 2 2022, 9:12 AM

Aside from the clang-format problem, all builds and tests correctly and looks good.

flang/lib/Lower/Bridge.cpp
90–99

With these changes, I'm getting differences after running clang-format.

This revision is now accepted and ready to land.Mar 2 2022, 9:12 AM
clementval added inline comments.Mar 2 2022, 9:18 AM
flang/lib/Lower/Bridge.cpp
90–99

Ok I'll double check that. Thanks for the heads up.

clementval updated this revision to Diff 412453.Mar 2 2022, 9:25 AM
clementval marked an inline comment as done.

Fix formatting

This revision was landed with ongoing or failed builds.Mar 2 2022, 9:27 AM
This revision was automatically updated to reflect the committed changes.