[all-commits] [llvm/llvm-project] b3eb0e: [flang] Lower sum intrinsic

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Mar 8 09:51:29 PST 2022


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

  Changed paths:
    M flang/include/flang/Lower/AbstractConverter.h
    M flang/include/flang/Lower/ConvertExpr.h
    A flang/include/flang/Lower/CustomIntrinsicCall.h
    M flang/include/flang/Lower/IntrinsicCall.h
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    M flang/include/flang/Optimizer/Dialect/FIRType.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/CMakeLists.txt
    M flang/lib/Lower/ConvertExpr.cpp
    A flang/lib/Lower/CustomIntrinsicCall.cpp
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    A flang/test/Lower/Intrinsics/sum.f90
    M flang/unittests/Runtime/Time.cpp

  Log Message:
  -----------
  [flang] Lower sum intrinsic

This patch enables the lowering of the `sum` intrinsic. It adds
also infrastructure to deal with optional arguments in intrinsics and
implied loops.

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

Reviewed By: PeteSteinfeld

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

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




More information about the All-commits mailing list