This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix forall issue with substring operation
ClosedPublic

Authored by clementval on Jun 23 2022, 12:55 PM.

Details

Summary

When there is a substring operation on a scalar assignment in a FORALL
context, we have to lower the entire substring and not the entire
CHARACTER variable.

This patch is part of the upstreaming effort from fir-dev branch.

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>

Diff Detail

Event Timeline

clementval created this revision.Jun 23 2022, 12:55 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 23 2022, 12:55 PM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Jun 23 2022, 12:55 PM
klausler accepted this revision.Jun 23 2022, 12:56 PM
This revision is now accepted and ready to land.Jun 23 2022, 12:56 PM

Update test for upstream

PeteSteinfeld accepted this revision.Jun 23 2022, 1:29 PM

All builds and tests correctly and looks good.

This revision was automatically updated to reflect the committed changes.