[all-commits] [llvm/llvm-project] b8bac6: [flang] Add runtime interface for SYSTEM_CLOCK

Diana via All-commits all-commits at lists.llvm.org
Tue Jun 29 01:26:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8bac6b33c576dec88add0e6a68e96219e278c8a
      https://github.com/llvm/llvm-project/commit/b8bac6b33c576dec88add0e6a68e96219e278c8a
  Author: Diana Picus <diana.picus at linaro.org>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M flang/runtime/time-intrinsic.h

  Log Message:
  -----------
  [flang] Add runtime interface for SYSTEM_CLOCK

SYSTEM_CLOCK may take up to 3 optional parameters, all of which are
INTENT(OUT). The COUNT and COUNT_MAX parameters are integer scalars,
while COUNT_RATE may be a real or integer scalar.

This patch breaks up the interface into 3 different functions, one for
each parameter. All 3 return integers. It is up to lowering to convert
the results to the preferred type.

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




More information about the All-commits mailing list