[flang] Fix couple of issue with user defined assignment in FORALL and WHERE
authorValentin Clement <clementval@gmail.com>
Tue, 28 Jun 2022 16:26:26 +0000 (18:26 +0200)
committerValentin Clement <clementval@gmail.com>
Tue, 28 Jun 2022 16:26:55 +0000 (18:26 +0200)
commitd542f9c2558c9e0920f40f29be97fc65fc233c48
tree41f5cf441d989c8c0a663dd532a3b41955c55675
parente1e0ecb96e0aa3b3846484f82e4c0e8c31c50341
[flang] Fix couple of issue with user defined assignment in FORALL and WHERE

This patch fixes a couple of issues with the lowering of user defined assignment.

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

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D128730

Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
flang/lib/Lower/ConvertExpr.cpp
flang/test/Lower/array-user-def-assignments.f90 [new file with mode: 0644]