This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix emboxing when input type is directly a record type
ClosedPublic

Authored by clementval on Jan 10 2023, 6:43 AM.

Details

Summary

In some fir.embox cases as shown in the test, the type descriptor
was not correctly found and the descriptor was populated with a null in the
addendum. This patch fixes this issue.

Diff Detail

Event Timeline

clementval created this revision.Jan 10 2023, 6:43 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 10 2023, 6:43 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Jan 10 2023, 6:43 AM
PeteSteinfeld edited the summary of this revision. (Show Details)Jan 10 2023, 7:53 AM
clementval edited the summary of this revision. (Show Details)Jan 10 2023, 7:55 AM

clang-format

PeteSteinfeld accepted this revision.Jan 10 2023, 8:06 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Jan 10 2023, 8:06 AM
This revision was landed with ongoing or failed builds.Jan 10 2023, 8:09 AM
This revision was automatically updated to reflect the committed changes.