This is an archive of the discontinued LLVM Phabricator instance.

[flang] Allow fir.class in AnyRefOrBox
ClosedPublic

Authored by clementval on Oct 7 2022, 5:04 AM.

Details

Summary

Some operations are using AnyRefOrBox to specify the type of the
operands or attribute. This is the case for the fir.coordinate_of
operation. This patch updates the AnyRefOrBox to accept BaseBoxType
instead of only BoxType.

Diff Detail

Event Timeline

clementval created this revision.Oct 7 2022, 5:04 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 7 2022, 5:04 AM
clementval requested review of this revision.Oct 7 2022, 5:04 AM
This revision is now accepted and ready to land.Oct 7 2022, 5:06 AM
This revision was automatically updated to reflect the committed changes.