summaryrefslogtreecommitdiff
path: root/flang-rt/lib/runtime/allocatable.cpp
AgeCommit message (Collapse)Author
2025-06-16[flang][runtime] Check SOURCE= conformability on ALLOCATE (#144113)Peter Klausler
The SOURCE= expression of an ALLOCATE statement, when present and not scalar, must conform to the shape of the allocated objects. Check this at runtime, and return a recoverable error, or crash, when appropriate. Fixes https://github.com/llvm/llvm-project/issues/143900.
2025-05-19[flang][cuda] Use a reference for asyncObject (#140614)Valentin Clement (バレンタイン クレメン)
Switch from `int64_t` to `int64_t*` to fit with the rest of the implementation. New tentative with some fix. The previous was reverted some time ago. Reviewed in #138010
2025-05-01Revert "[flang][cuda] Use a reference for asyncObject" (#138221)Valentin Clement (バレンタイン クレメン)
Reverts llvm/llvm-project#138186
2025-05-01[flang][cuda] Use a reference for asyncObject (#138186)Valentin Clement (バレンタイン クレメン)
Switch from `int64_t` to `int64_t*` to fit with the rest of the implementation. New tentative with some fix. The previous was reverted yesterday.
2025-04-30Revert "[flang][cuda] Use a reference for asyncObject (#138010)" (#138082)Valentin Clement (バレンタイン クレメン)
This reverts commit 9b0eaf71e674a28ee55be3afa11b5f7d4da732c0.
2025-04-30[flang][cuda] Use a reference for asyncObject (#138010)Valentin Clement (バレンタイン クレメン)
Switch from `int64_t` to `int64_t*` to fit with the rest of the implementation.
2025-04-09[flang][cuda] Add asyncId to allocate entry point (#134947)Valentin Clement (バレンタイン クレメン)
2025-02-16[Flang][NFC] Move runtime library files to flang-rt (#110298)Michael Kruse
Mostly mechanical changes in preparation of extracting the Flang-RT "subproject" in #110217. This PR intends to only move pre-existing files to the new folder structure, with no behavioral change. Common files (headers, testing, cmake) shared by Flang-RT and Flang remain in `flang/`. Some cosmetic changes and files paths were necessary: * Relative paths to the new path for the source files and `add_subdirectory`. * Add the new location's include directory to `include_directories` * The unittest/Evaluate directory has unitests for flang-rt and Flang. A new `CMakeLists.txt` was introduced for the flang-rt tests. * Change the `#include` paths relative to the include directive * clang-format on the `#include` directives * Since the paths are part if the copyright header and include guards, a script was used to canonicalize those * `test/Runtime` and runtime tests in `test/Driver` are moved, but the lit.cfg.py mechanism to execute the will only be added in #110217.