This is an archive of the discontinued LLVM Phabricator instance.

[flang] Handle parent component in intrinsic function arguments
ClosedPublic

Authored by clementval on Mar 13 2023, 2:15 AM.

Details

Summary

When the argument is a parent component the box needs to
be updated to reflect the correct type. Use updateBoxForParentComponent
to update the argument accordingly.

Diff Detail

Event Timeline

clementval created this revision.Mar 13 2023, 2:15 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 13 2023, 2:15 AM
clementval requested review of this revision.Mar 13 2023, 2:15 AM
PeteSteinfeld edited the summary of this revision. (Show Details)Mar 13 2023, 6:32 AM
PeteSteinfeld accepted this revision.Mar 13 2023, 6:57 AM

Aside from the nit in the comment, all builds and tests correctly and looks good.

flang/include/flang/Lower/ConvertExpr.h
82

"iif" should be "if" or "iff".

This revision is now accepted and ready to land.Mar 13 2023, 6:57 AM
clementval marked an inline comment as done.Mar 13 2023, 7:28 AM
clementval added inline comments.
flang/include/flang/Lower/ConvertExpr.h
82

Updated before pushing

This revision was automatically updated to reflect the committed changes.
clementval marked an inline comment as done.