This is an archive of the discontinued LLVM Phabricator instance.

[flang] Stricter scrutiny of MOVE_ALLOC calls
ClosedPublic

Authored by klausler on Oct 28 2022, 12:29 PM.

Details

Summary

Enforce remaining semantic restrictions on the arguments to MOVE_ALLOC,
namely that the first two arguments must be allocatable (!) and that
if the source is polymorphic, so must the destination be.

Diff Detail

Event Timeline

klausler created this revision.Oct 28 2022, 12:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 28 2022, 12:29 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Oct 28 2022, 12:29 PM
klausler updated this revision to Diff 471643.Oct 28 2022, 1:45 PM

Resolve merge conflict better in test case.

vdonaldson accepted this revision.Oct 28 2022, 1:49 PM
This revision is now accepted and ready to land.Oct 28 2022, 1:49 PM
This revision was automatically updated to reflect the committed changes.