[flang][runtime] Add ragged array runtime functions
authorValentin Clement <clementval@gmail.com>
Tue, 7 Dec 2021 20:19:34 +0000 (21:19 +0100)
committerValentin Clement <clementval@gmail.com>
Tue, 7 Dec 2021 20:22:34 +0000 (21:22 +0100)
commit6116ff297f52c32fbe617c5dcea33c54c2c274ee
treec16cc0c7ff6cf0c50caa6a24290b67c8d7c6c132
parent220854a47bdc0c281dbaafb54411ec65e76212b3
[flang][runtime] Add ragged array runtime functions

This patch adds the runtime function to allocate and
deallocate ragged arrays.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D114534

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
flang/include/flang/Runtime/ragged.h [new file with mode: 0644]
flang/runtime/CMakeLists.txt
flang/runtime/ragged.cpp [new file with mode: 0644]
flang/unittests/Runtime/CMakeLists.txt
flang/unittests/Runtime/Ragged.cpp [new file with mode: 0644]