This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix ORDER= argument to RESHAPE
ClosedPublic

Authored by klausler on Nov 11 2021, 10:52 AM.

Details

Summary

The ORDER= argument to the transformational intrinsic function RESHAPE
was being misinterpreted in an inverted way that could be detected only
with 3-d or higher rank array. Fix in both folding and the runtime, and
extend tests.

Diff Detail

Event Timeline

klausler created this revision.Nov 11 2021, 10:52 AM
klausler requested review of this revision.Nov 11 2021, 10:52 AM
jeanPerier accepted this revision.Nov 12 2021, 1:08 AM

Looks good.

This revision is now accepted and ready to land.Nov 12 2021, 1:08 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptNov 12 2021, 10:25 AM