[all-commits] [llvm/llvm-project] 7b917f: [flang] Lower elemental calls

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon Mar 14 09:40:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b917fd2841312c11c1dfe8a860d12a8f24feb3f
      https://github.com/llvm/llvm-project/commit/7b917fd2841312c11c1dfe8a860d12a8f24feb3f
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-03-14 (Mon, 14 Mar 2022)

  Changed paths:
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/lib/Lower/IntrinsicCall.cpp
    R flang/lib/Lower/array-elemental-calls-2.f90
    A flang/test/Lower/array-elemental-calls-2.f90

  Log Message:
  -----------
  [flang] Lower elemental calls

This patch adds more lowering of operations sub-expression inside elemental call arguments.
It tests array contexts where an address is needed for each element (for
the argument), but part of the array sub-expression must be lowered by value
(for the operation)

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

Reviewed By: PeteSteinfeld

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

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




More information about the All-commits mailing list