This is an archive of the discontinued LLVM Phabricator instance.

[flang] Enhance getTypeAsString to support more FIR types
ClosedPublic

Authored by clementval on Jun 21 2023, 1:09 PM.

Details

Summary

Add support for couple of FIR types such as fir.ptr, fir.heap,
fir.box, fir.class

Diff Detail

Event Timeline

clementval created this revision.Jun 21 2023, 1:09 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 21 2023, 1:09 PM
clementval requested review of this revision.Jun 21 2023, 1:09 PM
razvanlupusoru accepted this revision.Jun 21 2023, 2:21 PM

Looks great - just missing fir::LLVMPointerType to complete the list of all pointer types.

This revision is now accepted and ready to land.Jun 21 2023, 2:21 PM

Looks great - just missing fir::LLVMPointerType to complete the list of all pointer types.

Right. I'll upload a separate patch for this. Should we differentiate it from fir.ptr with smth like llvm_ptr?