[all-commits] [llvm/llvm-project] 60ec68: [flang] Implement SECOND intrinsic (#98881)

Tom Eccles via All-commits all-commits at lists.llvm.org
Tue Jul 16 03:29:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60ec6868ea02454480598832606019c8a3bf4316
      https://github.com/llvm/llvm-project/commit/60ec6868ea02454480598832606019c8a3bf4316
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M flang/docs/Intrinsics.md
    M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    A flang/test/Lower/Intrinsics/second.f90

  Log Message:
  -----------
  [flang] Implement SECOND intrinsic (#98881)

The SECOND intrinsic is a gnu extension providing an alias for CPU_TIME:
https://gcc.gnu.org/onlinedocs/gfortran/SECOND.html

This cannot be implemented as a straightforward alias because there is
both a function and a subroutine form.



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