[all-commits] [llvm/llvm-project] 753b76: [flang] Fix forall issue with substring operation

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Jun 24 00:08:13 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 753b766deaa2d9baab2e7dad7ce02ae2e08a0a24
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-06-24 (Fri, 24 Jun 2022)

  Changed paths:
    M flang/lib/Lower/ConvertExpr.cpp
    A flang/test/Lower/forall/scalar-substring.f90

  Log Message:
  [flang] Fix forall issue with substring operation

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.

Reviewed By: PeteSteinfeld, klausler

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

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

More information about the All-commits mailing list