[flang-commits] [flang] [llvm] [flang-rt] Runtime implementation of extended intrinsic function SECNDS() (PR #152021)

Andre Kuhlenschmidt via flang-commits flang-commits at lists.llvm.org
Mon Aug 4 14:34:36 PDT 2025


================
@@ -309,6 +310,12 @@ std::int32_t RTNAME(Hostnm)(
   return status;
 }
 
+float RTNAME(Secnds)(float *refTime, const char *sourceFile, int line) {
----------------
akuhlens wrote:

Ok, if we think providing the users both the external function implementation and the intrinsic itself, another alternative would be to put the two function functions next to each other in `extension.cpp`. Command.cpp still seems like the wrong place for this runtime function. 

https://github.com/llvm/llvm-project/pull/152021


More information about the flang-commits mailing list