This is an archive of the discontinued LLVM Phabricator instance.

[flang] Expose specific to generic intrinsic name mapping
ClosedPublic

Authored by jeanPerier on Jul 29 2020, 6:15 AM.

Details

Summary

The intrinsic lowering facility is based on the generic intrinsic names to avoid
duplicating implementations. Specific intrinsics call are re-written to call to
the generic versions by the front-end but this cannot be done when specific intrinsics
are passed as arguments (the rewrite would give illegal/ambiguous unparsed Fortran).
Solve the issue by making the specific to generic name mapping accessible to lowering
and can be later used to generate the unrestricted intrinsic functions.

Diff Detail

Event Timeline

jeanPerier created this revision.Jul 29 2020, 6:15 AM
Herald added a project: Restricted Project. · View Herald Transcript
jeanPerier requested review of this revision.Jul 29 2020, 6:15 AM
schweitz accepted this revision.Jul 29 2020, 8:28 AM
This revision is now accepted and ready to land.Jul 29 2020, 8:28 AM