[all-commits] [llvm/llvm-project] 91b186: [flang] Add TODO for polymorphic array argument in...
jeanPerier via All-commits
all-commits at lists.llvm.org
Wed Apr 12 23:24:26 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 91b1861dbfb5dafdb4d42fa650db6f1f824b6622
https://github.com/llvm/llvm-project/commit/91b1861dbfb5dafdb4d42fa650db6f1f824b6622
Author: Jean Perier <jperier at nvidia.com>
Date: 2023-04-13 (Thu, 13 Apr 2023)
Changed paths:
M flang/lib/Lower/ConvertExpr.cpp
A flang/test/Lower/HLFIR/elemental-user-procedure-ref-polymorphic.f90
Log Message:
-----------
[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
More information about the All-commits
mailing list