[all-commits] [llvm/llvm-project] b64c26: [flang][runtime] Implement SLEEP intrinsic (#79074)

Tom Eccles via All-commits all-commits at lists.llvm.org
Fri Jan 26 03:09:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b64c26f34f6d64eb15bd7584623b37d1a8e0e5d5
      https://github.com/llvm/llvm-project/commit/b64c26f34f6d64eb15bd7584623b37d1a8e0e5d5
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-01-26 (Fri, 26 Jan 2024)

  Changed paths:
    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/extensions.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/extensions.cpp
    A flang/test/Lower/Intrinsics/sleep.f90

  Log Message:
  -----------
  [flang][runtime] Implement SLEEP intrinsic (#79074)

This intrinsic is a gnu extension. See
https://gcc.gnu.org/onlinedocs/gfortran/SLEEP.html

This intrinsic is used in minighost:
https://github.com/Mantevo/miniGhost/blob/c2102b521568a74862fa5abb074b1fc8041fc222/ref/MG_UTILS.F#L606




More information about the All-commits mailing list