This is an archive of the discontinued LLVM Phabricator instance.

[flang] Reconstruct binding tables for fir.dispatch codegen
ClosedPublic

Authored by clementval on Oct 18 2022, 1:17 AM.

Details

Summary

Binding tables are needed to perform the fir.dispatch code generation.
The binding tables are defined as fir.global from the initial lowering.
This patch adds the ability to reconstruct the binding tables information
and store the procedure name and binding index for later use by the
fir.dispatch code generation.
Tests will come with follow up patch that makes full use of this information.

Diff Detail

Event Timeline

clementval created this revision.Oct 18 2022, 1:17 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 18 2022, 1:17 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Oct 18 2022, 1:17 AM
jeanPerier accepted this revision.Oct 18 2022, 2:03 AM

Makes sense to me.

This revision is now accepted and ready to land.Oct 18 2022, 2:03 AM