This change adds runtime routines and tests for LBOUND when passed a DIM argument, SIZE, and UBOUND when not passed a DIM argument.
Associated changes for lowering have already been merged into fir-dev.
Paths
| Differential D119360
[flang] Upstream runtime changes for inquiry intrinsics ClosedPublic Authored by PeteSteinfeld on Feb 9 2022, 11:17 AM.
Details Summary This change adds runtime routines and tests for LBOUND when passed a DIM argument, SIZE, and UBOUND when not passed a DIM argument. Associated changes for lowering have already been merged into fir-dev.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 9 2022, 11:56 AM This revision was landed with ongoing or failed builds.Feb 9 2022, 12:43 PM Closed by commit rG6cd417bfd886: [flang] Upstream runtime changes for inquiry intrinsics (authored by PeteSteinfeld). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 407253 flang/include/flang/Runtime/inquiry.h
flang/runtime/CMakeLists.txt
flang/runtime/inquiry.cpp
flang/runtime/time-intrinsic.cpp
flang/runtime/tools.h
flang/unittests/Runtime/CMakeLists.txt
flang/unittests/Runtime/Inquiry.cpp
|
"array" would be a more descriptive name for the second argument than "descriptor".