[all-commits] [llvm/llvm-project] 70ade0: [flang] system_clock intrinsic calls with dynamica...

vdonaldson via All-commits all-commits at lists.llvm.org
Mon Jun 13 08:33:50 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70ade047a44584aa3c31735690e2bffe17d6b04f
  Author: vdonaldson <37090318+vdonaldson at users.noreply.github.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    M flang/lib/Lower/CustomIntrinsicCall.cpp
    M flang/lib/Lower/HostAssociations.cpp
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Lower/Runtime.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/lib/Optimizer/Builder/MutableBox.cpp
    M flang/lib/Optimizer/Builder/Runtime/Ragged.cpp
    M flang/test/Lower/Intrinsics/system_clock.f90
    M flang/unittests/Optimizer/Builder/FIRBuilderTest.cpp

  Log Message:
  [flang] system_clock intrinsic calls with dynamically optional arguments

system_clock intrinsic calls with dynamically optional arguments

Modify intrinsic system_clock calls to allow for an argument that is optional
or a disassociated pointer or an unallocated allocatable.  A call with such an
argument is the same as a call that does not specify that argument.

Rename (genIsNotNull -> genIsNotNullAddr) and (genIsNull -> genIsNullAddr)
and add a use of genIsNotNullAddr.

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

Reviewed By: PeteSteinfeld

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

Co-authored-by: V Donaldson <vdonaldson at nvidia.com>

More information about the All-commits mailing list