[all-commits] [llvm/llvm-project] 7fe4ab: [flang] Lower F08 NORM2 intrinsic

Tarun Prabhu via All-commits all-commits at lists.llvm.org
Mon Dec 5 12:56:18 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fe4abbbc2702c09303110a3f4cd9f97494bc887
      https://github.com/llvm/llvm-project/commit/7fe4abbbc2702c09303110a3f4cd9f97494bc887
  Author: Tarun Prabhu <tarun at lanl.gov>
  Date:   2022-12-05 (Mon, 05 Dec 2022)

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

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

The implementation follows the pattern used in comparable intrinsics.
Change the runtime API for Norm2 so it does not expect a mask argument
since the Norm2 intrinsic does not accept a mask in Fortran.

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




More information about the All-commits mailing list