[PATCH] D121221: [flang] Lower sum intrinsic

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 8 08:07:43 PST 2022


clementval created this revision.
clementval added reviewers: jeanPerier, PeteSteinfeld, schweitz, svedanayagam, klausler.
Herald added subscribers: mehdi_amini, mgorny.
Herald added a reviewer: sscalpone.
Herald added projects: Flang, All.
clementval requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121221

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121221.413815.patch
Type: text/x-patch
Size: 122758 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220308/7bbb46be/attachment.bin>


More information about the llvm-commits mailing list