This is an archive of the discontinued LLVM Phabricator instance.

[flang] Do not omit fir.ref in getTypeAsString
ClosedPublic

Authored by clementval on May 23 2023, 2:44 PM.

Details

Summary

Do not omit fir.ref when creating the string representation to we can
have different representation for !fir.ref<i32> and i32.

Diff Detail

Event Timeline

clementval created this revision.May 23 2023, 2:44 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 23 2023, 2:44 PM
clementval requested review of this revision.May 23 2023, 2:44 PM
razvanlupusoru accepted this revision.May 23 2023, 2:58 PM

This is better. I didn't catch it the first time that the reference type was silently being unwrapped. Thank you!

This revision is now accepted and ready to land.May 23 2023, 2:58 PM
This revision was landed with ongoing or failed builds.May 23 2023, 3:07 PM
This revision was automatically updated to reflect the committed changes.