[flang-commits] [PATCH] D104851: [flang] Add runtime interface for SYSTEM_CLOCK

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Jun 24 08:11:06 PDT 2021


klausler added a comment.

SYSTEM_CLOCK is a mess.  Its arguments are defined as integer and real, but not *default* integer or real, so there could be 80 different ways to call it in practice.

I think the runtime API should be broken up into three distinct APIs, one for each optional argument, and defined as functions returning 64-bit integers. Lowering can convert the results.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104851/new/

https://reviews.llvm.org/D104851



More information about the flang-commits mailing list