[all-commits] [llvm/llvm-project] c8898b: [flang][rt] Use allocator registry to allocate the...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Thu Mar 6 08:47:50 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c8898b09f9cc8b2d8df37c40b1d7c5ab868cd9db
https://github.com/llvm/llvm-project/commit/c8898b09f9cc8b2d8df37c40b1d7c5ab868cd9db
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2025-03-06 (Thu, 06 Mar 2025)
Changed paths:
M flang-rt/lib/runtime/pointer.cpp
M flang/include/flang/Runtime/pointer.h
Log Message:
-----------
[flang][rt] Use allocator registry to allocate the pointer payload (#129992)
pointer allocation is done through `AllocateValidatedPointerPayload`.
This function was not updated to use the registered allocators in the
descriptor to perform the allocation. This patch makes use of the
allocator.
The footer word is not set and not checked for allocator other than the
default one. The support will likely come in a follow up patch but this
will necessitate more functions to be registered to be able to set and
get the footer value when the allocation in on the device.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list