diff options
author | Tom Eccles <tom.eccles@arm.com> | 2025-05-08 11:15:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-08 11:15:58 +0100 |
commit | e40200901cf1af860db9ded5c03b7b104396e429 (patch) | |
tree | fda5cea2a9c8576bca8396eab90927270065f835 /lldb/source/Commands/CommandObjectSource.cpp | |
parent | ce7c1963b914931817dd983f488cc0b810187b3a (diff) | |
download | llvm-e40200901cf1af860db9ded5c03b7b104396e429.zip llvm-e40200901cf1af860db9ded5c03b7b104396e429.tar.gz llvm-e40200901cf1af860db9ded5c03b7b104396e429.tar.bz2 |
[mlir][OpenMP] cancel(lation point) taskgroup LLVMIR (#137841)
A cancel or cancellation point for taskgroup is always nested inside of
a task inside of the taskgroup. For the task which is cancelled, it is
that task which needs to be cleaned up: not the owning taskgroup.
Therefore the cancellation branch handler is done in the conversion of
the task not in conversion of taskgroup.
I added a firstprivate clause to the test for cancel taskgroup to
demonstrate that the block being branched to is the same block where
mandatory cleanup code is added. Cancellation point follows exactly the
same code path.
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
0 files changed, 0 insertions, 0 deletions