This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add TODOs for some FORALL assignments with Pointers and Allocatables
ClosedPublic

Authored by jeanPerier on Sep 22 2022, 7:13 AM.

Details

Summary

Add TODO for whole array allocatable assignment inside FORALL
Whole allocatable array assignment inside FORALL are otherwise currently
hitting more cryptic asserts.

Add TODO in FORALL assignment when a designator appear with a part ref
that is an allocatable or pointer component (a(i)%pointer%k). The lowering
code does not handle this case well because of the pointer dereference.

Event Timeline

jeanPerier created this revision.Sep 22 2022, 7:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 22 2022, 7:13 AM
jeanPerier requested review of this revision.Sep 22 2022, 7:13 AM
This revision is now accepted and ready to land.Sep 22 2022, 7:38 AM
PeteSteinfeld accepted this revision.Sep 22 2022, 8:47 AM

All builds and tests correctly and looks good.