diff options
author | Jean Perier <jperier@nvidia.com> | 2023-04-13 08:22:50 +0200 |
---|---|---|
committer | Jean Perier <jperier@nvidia.com> | 2023-04-13 08:23:20 +0200 |
commit | 91b1861dbfb5dafdb4d42fa650db6f1f824b6622 (patch) | |
tree | e0c4d3551696830cded2b3688558f78d79f13049 /clang/lib/Sema/SemaModule.cpp | |
parent | b356cd70a27dd5be2cbcc72e9f1ac56f1fb788cb (diff) | |
download | llvm-91b1861dbfb5dafdb4d42fa650db6f1f824b6622.zip llvm-91b1861dbfb5dafdb4d42fa650db6f1f824b6622.tar.gz llvm-91b1861dbfb5dafdb4d42fa650db6f1f824b6622.tar.bz2 |
[flang] Add TODO for polymorphic array argument in elemental procedure
The current lowering fails to retrieve the shape of polymorphic array
arguments in elemental procedure reference.
Add a TODO because this is supported in the new HLFIR lowering, and
because the current lowering anyway attempts to re-evaluate the
argument to get its shape, which is not correct if the evaluation
has side effects.
Add a test to ensure this is supported with HLFIR.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D148087
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions