[flang] [llvm] [flang-rt] Runtime implementation of extended intrinsic function SECNDS() (PR #152021)
Andre Kuhlenschmidt via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 4 14:15:47 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:
I assume the separation of `Secnds` to lower case `secnds` is to allow you to test it in this PR. Command.h seems to be runtime functions related to the command line, so I think extenssions.cpp/h is the right place for this not command.h. Maybe add the argument checking back to the implementation in extenssions.cpp and test the function in a unit test?
https://github.com/llvm/llvm-project/pull/152021
More information about the llvm-commits
mailing list