[all-commits] [llvm/llvm-project] 245b7b: [flang] Add ETIME runtime and lowering intrinsics ...

jiajie zhang via All-commits all-commits at lists.llvm.org
Wed May 15 21:44:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 245b7b65cb341ac5499fabf62f28fdbbc39bc7d7
      https://github.com/llvm/llvm-project/commit/245b7b65cb341ac5499fabf62f28fdbbc39bc7d7
  Author: jiajie zhang <56027356+JumpMasterJJ at users.noreply.github.com>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    A etime-function.mlir
    M flang/docs/Intrinsics.md
    M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
    M flang/include/flang/Optimizer/Builder/Runtime/Intrinsics.h
    M flang/include/flang/Runtime/time-intrinsic.h
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Intrinsics.cpp
    M flang/runtime/time-intrinsic.cpp
    M flang/runtime/tools.h
    A flang/test/Lower/Intrinsics/etime-function.f90
    A flang/test/Lower/Intrinsics/etime.f90
    A flang/test/Semantics/etime.f90

  Log Message:
  -----------
  [flang] Add ETIME runtime and lowering intrinsics implementation (#90578)

This patch add support of intrinsics GNU extension ETIME
https://github.com/llvm/llvm-project/issues/84205. Some usage info and
example has been added to `flang/docs/Intrinsics.md`. The patch contains
both the lowering and the runtime code and works on both Windows and
Linux.


|   System  |   Implmentation  |
|-----------|--------------------|
| Windows| GetProcessTimes |
| Linux      |times                     |



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list