[all-commits] [llvm/llvm-project] f9704f: [flang] Simple array assignment lowering

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Feb 24 12:23:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9704f0cfb7a9edb86c0755bafef54cbd365743d
      https://github.com/llvm/llvm-project/commit/f9704f0cfb7a9edb86c0755bafef54cbd365743d
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-02-24 (Thu, 24 Feb 2022)

  Changed paths:
    M flang/include/flang/Evaluate/variable.h
    A flang/include/flang/Lower/ComponentPath.h
    M flang/include/flang/Lower/ConvertExpr.h
    A flang/include/flang/Lower/DumpEvaluateExpr.h
    A flang/include/flang/Lower/IterationSpace.h
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    M flang/include/flang/Optimizer/Builder/Factory.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/CMakeLists.txt
    M flang/lib/Lower/CallInterface.cpp
    A flang/lib/Lower/ComponentPath.cpp
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/lib/Lower/ConvertVariable.cpp
    A flang/lib/Lower/DumpEvaluateExpr.cpp
    A flang/lib/Lower/IterationSpace.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/test/Lower/assignment.f90
    M flang/test/Lower/basic-function.f90

  Log Message:
  -----------
  [flang] Simple array assignment lowering

This patch handles lowering of simple array assignment.

```
a(:) = 10
```

or

```
a(1) = 1
```

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

Reviewed By: PeteSteinfeld, schweitz

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

Co-authored-by: Jean Perier <jperier at nvidia.com>
Co-authored-by: V Donaldson <vdonaldson at nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>




More information about the All-commits mailing list