This is an archive of the discontinued LLVM Phabricator instance.

[flang][hlfir] probe ultimate intrinsic module procedure name
ClosedPublic

Authored by jeanPerier on Jun 30 2023, 9:20 AM.

Details

Summary

HLFIR lowering was currently hitting errors like "not yet implemented:
intrinsic: z0$iso_c_binding$c_associated_c_ptr". These error were caused
by HLFIR lowering using the name with the full context instead of
the ultimate one.
I do not want to change proc.GetName() because I think it may be best
if it retains the full context for its usages in semantics, so I fixed
the helper to get the name in lowering to HLFIR.

Diff Detail

Event Timeline

jeanPerier created this revision.Jun 30 2023, 9:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 30 2023, 9:20 AM
jeanPerier requested review of this revision.Jun 30 2023, 9:20 AM
vzakhari accepted this revision.Jun 30 2023, 10:05 AM

Thanks!

This revision is now accepted and ready to land.Jun 30 2023, 10:05 AM
tblah accepted this revision.Jun 30 2023, 10:17 AM

LGTM. Thanks!