This is an archive of the discontinued LLVM Phabricator instance.

[flang] Lower allocatable assignment for scalar
ClosedPublic

Authored by clementval on Feb 24 2022, 7:24 AM.

Details

Summary

Add lowering for simple assignement on allocatable
scalars.

This patch is part of the upstreaming effort from fir-dev branch.

Depends on D120483

Diff Detail

Event Timeline

clementval created this revision.Feb 24 2022, 7:24 AM
Herald added a project: Restricted Project. · View Herald Transcript
clementval requested review of this revision.Feb 24 2022, 7:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 24 2022, 7:24 AM

There's something odd about this patch. When I try to download it, I don't get the same files that appear on the Phabricator GUI. For example, .../flang/include/flang/Lower/Allocatable.h is missing.

I notice that your comments say that this patch depends on another patch. Perhaps that's related to my problem.

There's something odd about this patch. When I try to download it, I don't get the same files that appear on the Phabricator GUI. For example, .../flang/include/flang/Lower/Allocatable.h is missing.

I notice that your comments say that this patch depends on another patch. Perhaps that's related to my problem.

It probably need a rebase. I'll do it now.

PeteSteinfeld accepted this revision.Feb 24 2022, 9:10 AM

I saw one small misspelling in .../flang/include/flang/Lower/Allocatable.h.

Otherwise, all builds and tests correctly and looks good.

flang/include/flang/Lower/Allocatable.h
39

I think you mean "disassociated".

This revision is now accepted and ready to land.Feb 24 2022, 9:10 AM
This revision was landed with ongoing or failed builds.Feb 24 2022, 9:13 AM
This revision was automatically updated to reflect the committed changes.