[all-commits] [llvm/llvm-project] 2e4147: [Coroutines] ABI Objects to improve code separatio...
Tyler Nowicki via All-commits
all-commits at lists.llvm.org
Fri Sep 20 13:47:38 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2e414799d0ad511cd7999895014a2cae2ea5e3e3
https://github.com/llvm/llvm-project/commit/2e414799d0ad511cd7999895014a2cae2ea5e3e3
Author: Tyler Nowicki <tyler.nowicki at amd.com>
Date: 2024-09-20 (Fri, 20 Sep 2024)
Changed paths:
M llvm/include/llvm/Transforms/Coroutines/CoroSplit.h
A llvm/lib/Transforms/Coroutines/ABI.h
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/Coroutines/CoroInternal.h
M llvm/lib/Transforms/Coroutines/CoroShape.h
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
M llvm/lib/Transforms/Coroutines/Coroutines.cpp
Log Message:
-----------
[Coroutines] ABI Objects to improve code separation between different ABIs, users and utilities. (#109338)
* Adds an ABI object class hierarchy to implement the coroutine ABIs
(Switch, Asyc, and Retcon{Once})
* The ABI object improves the separation of the code related to users,
ABIs and utilities.
* No code changes are required by any existing users.
* Each ABI overrides delegate methods for initialization, building the
coroutine frame and splitting the coroutine, other methods may be added
later.
* CoroSplit invokes a generator lambda to instantiate the ABI object and
calls the ABI object to carry out its primary operations.
See RFC for more info:
https://discourse.llvm.org/t/rfc-abi-objects-for-coroutines/81057
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