forked from OSchip/llvm-project
f05c95f10f
To get proper wrap-around behavior for the various kind parameter values of the optional COUNT= and COUNT_MAX= dummy arguments to the intrinsic subroutine SYSTEM_CLOCK, add an extra argument to the APIs for lowering to pass the integer kind of the actual argument. Avoid confusion by requiring that both actual arguments have the same kind when both are present. The results of the runtime functions remain std::int64_t and lowering should still convert them before storing to the actual argument variables. Rework the implementation a bit to accomodate the dynamic specification of the kind parameter, and to clean up some coding issues with preprocessing and templates. Use the kind of the COUNT=/COUNT_MAX= actual arguments to determine the clock's resolution, where possible, in conformance with other Fortran implementations. Differential Revision: https://reviews.llvm.org/D111281 |
||
---|---|---|
.. | ||
_static | ||
_templates | ||
_themes/llvm-theme | ||
ArrayComposition.md | ||
BijectiveInternalNameUniquing.md | ||
C++17.md | ||
C++style.md | ||
CMakeLists.txt | ||
Calls.md | ||
Character.md | ||
ControlFlowGraph.md | ||
Directives.md | ||
DoConcurrent.md | ||
Extensions.md | ||
FlangDriver.md | ||
FortranFeatureHistory.md | ||
FortranForCProgrammers.md | ||
FortranIR.md | ||
FortranLLVMTestSuite.md | ||
GettingInvolved.md | ||
IORuntimeInternals.md | ||
ImplementingASemanticCheck.md | ||
Intrinsics.md | ||
LabelResolution.md | ||
ModFiles.md | ||
OpenMP-4.5-grammar.md | ||
OpenMP-semantics.md | ||
OptionComparison.md | ||
Overview.md | ||
ParserCombinators.md | ||
Parsing.md | ||
Preprocessing.md | ||
PullRequestChecklist.md | ||
ReleaseNotes.md | ||
RuntimeDescriptor.md | ||
RuntimeTypeInfo.md | ||
Semantics.md | ||
conf.py | ||
doxygen-mainpage.dox | ||
doxygen.cfg.in | ||
f2018-grammar.md | ||
flang-c-style.el | ||
index.md |