Page MenuHomePhabricator

[OPENMP]Fix PR46170: partial mapping for array sections of data members.
ClosedPublic

Authored by ABataev on Jun 2 2020, 3:00 PM.

Details

Summary

If the data member is mapped as an array section, need to emit the
pointer to the last element of this array section and use this pointer
as the highest element in partial struct data.

Diff Detail

Event Timeline

ABataev created this revision.Jun 2 2020, 3:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2020, 3:00 PM
jdoerfert accepted this revision.Jun 2 2020, 3:07 PM

LGTM. Thanks for the quick fix!

This revision is now accepted and ready to land.Jun 2 2020, 3:07 PM
This revision was automatically updated to reflect the committed changes.