This is an archive of the discontinued LLVM Phabricator instance.

[flang][NFC] Add tests for array-value-copy pass with array with pointers
ClosedPublic

Authored by clementval on Apr 1 2022, 12:57 AM.

Details

Summary

This patch adds tests for the array-value-copy pass with array assignment
involving Fortran pointers.

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

Diff Detail

Event Timeline

clementval created this revision.Apr 1 2022, 12:57 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 1 2022, 12:57 AM
clementval requested review of this revision.Apr 1 2022, 12:57 AM
schweitz accepted this revision.Apr 1 2022, 10:09 AM
schweitz added inline comments.
flang/test/Fir/array-copies-pointers.fir
10

The CHECK lines are extremely spartan here. Is that intentional? (It seems like they could be improved to reduce false positives.)

This revision is now accepted and ready to land.Apr 1 2022, 10:09 AM

Split iinput file + add some check lines

clementval marked an inline comment as done.Apr 4 2022, 1:43 AM