This is an archive of the discontinued LLVM Phabricator instance.

[flang] Correct epistemological edge cases for IS_CONTIGUOUS folding
ClosedPublic

Authored by klausler on Oct 5 2022, 5:24 PM.

Details

Summary

Don't return a hard .FALSE. when folding IS_CONTIGUOUS() unless the
subscript triplets are discontiguous and array section is nonempty,
or if the array section is nonempty and there is a vector subscript.

Diff Detail

Event Timeline

klausler created this revision.Oct 5 2022, 5:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 5 2022, 5:24 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Oct 5 2022, 5:24 PM
This revision is now accepted and ready to land.Oct 5 2022, 11:58 PM