[all-commits] [llvm/llvm-project] d43a2f: [flang] Lower F08 FINDLOC intrinsic

Tarun Prabhu via All-commits all-commits at lists.llvm.org
Tue Nov 29 09:22:47 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d43a2f09de518248631d4baa9f676c5de8a058a5
      https://github.com/llvm/llvm-project/commit/d43a2f09de518248631d4baa9f676c5de8a058a5
  Author: Tarun Prabhu <tarun at lanl.gov>
  Date:   2022-11-29 (Tue, 29 Nov 2022)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/Runtime/Reduction.h
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
    M flang/runtime/reduction-templates.h
    A flang/test/Lower/Intrinsics/findloc.f90

  Log Message:
  -----------
  [flang] Lower F08 FINDLOC intrinsic

The implementation follows the patterns established by the lowering of other
similar intrinsics.

In addition to the code for lowering, the DoTotalReduction template had to be
fixed to correctly break when signaled to do so by the accumulator function.

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




More information about the All-commits mailing list