This is an archive of the discontinued LLVM Phabricator instance.

[flang] Allow PDTs with LEN parameters in REDUCE()
ClosedPublic

Authored by klausler on May 6 2022, 1:14 PM.

Details

Summary

The type compatibility checks for the ARRAY= argument and the dummy
arguments and result of the OPERATION= argument to the REDUCE intrinsic
function need to allow for parameterized data types with LEN parameters.
(Their values are required to be identical but this is not a numbered
constraint requiring a compilation time check).

Diff Detail

Event Timeline

klausler created this revision.May 6 2022, 1:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 6 2022, 1:14 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.May 6 2022, 1:14 PM
PeteSteinfeld accepted this revision.May 6 2022, 2:49 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.May 6 2022, 2:49 PM
This revision was landed with ongoing or failed builds.May 9 2022, 5:41 PM
This revision was automatically updated to reflect the committed changes.