[all-commits] [llvm/llvm-project] 836421: [coro] [async] There needs to be a one-to-one core...
Arnold Schwaighofer via All-commits
all-commits at lists.llvm.org
Fri Mar 13 14:53:38 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 836421ad52585d4247ba22e0fd01265d2beef33a
https://github.com/llvm/llvm-project/commit/836421ad52585d4247ba22e0fd01265d2beef33a
Author: Arnold Schwaighofer <aschwaighofer at apple.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M llvm/include/llvm/IR/Intrinsics.td
A llvm/test/Transforms/Coroutines/coro-async-noduplicate.ll
Log Message:
-----------
[coro] [async] There needs to be a one-to-one corespondance between the async resume function value and the suspend intrinsic (#186436)
We need to mark both the async.resume intrinsic function and the
supsend.async function as not duplicatable. The async.resume function
models the continuation after a suspend. It is non sense to not have a
one-to-one correspondance between the two: if the suspend intrinsic is
cloned so needs to be the matching async.resume intrinsic call.
rdar://172130181
https://github.com/swiftlang/swift/issues/87719
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