This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix IsSimplyContiguous() for the case of a pointer component
ClosedPublic

Authored by klausler on Jul 23 2021, 11:56 AM.

Details

Summary

The result expression for the analysis of a Component is not (longer)
valid in the expression traversal framework used by IsSimplyContiguousHelper
now that it has a tri-state result. Fix so that any result of
analyzing the component symbol is required to be true, not just
present.

Diff Detail

Event Timeline

klausler created this revision.Jul 23 2021, 11:56 AM
klausler requested review of this revision.Jul 23 2021, 11:56 AM
jeanPerier accepted this revision.Aug 2 2021, 1:05 AM
This revision is now accepted and ready to land.Aug 2 2021, 1:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 2 2021, 9:44 AM