This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix bounds array creation for pointer remapping calls
ClosedPublic

Authored by clementval on Jan 24 2023, 9:21 AM.

Details

Summary

PointerAssociateRemapping expect a descriptor holding
a newRank x 2 array of int64. The previous lowering was wrong.
Adapt the lowering to fit the expectation of the runtime.
Use the bounds to get the rank.

Diff Detail

Event Timeline

clementval created this revision.Jan 24 2023, 9:21 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 24 2023, 9:21 AM
clementval requested review of this revision.Jan 24 2023, 9:21 AM
PeteSteinfeld accepted this revision.Jan 24 2023, 12:48 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Jan 24 2023, 12:48 PM

clang-format