From 01c2e0fde95433ad2206dcf554418754c657d1b2 Mon Sep 17 00:00:00 2001 From: Michael Gottesman Date: Fri, 14 Nov 2025 15:08:01 -0800 Subject: [PATCH] [irgen] Make AsyncLetBegin and AsyncLetFinish UNKNOWN_MEMEFFECTS instead of ArgMemOnly. In a discussion with @rjmccall, we agreed that these should really be UNKNOWN_MEMEFFECTS so we are conservative. Just slicing this off from a larger patch stream. --- include/swift/Runtime/RuntimeFunctions.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/swift/Runtime/RuntimeFunctions.def b/include/swift/Runtime/RuntimeFunctions.def index e82edee616fba..c0b55cf61be3f 100644 --- a/include/swift/Runtime/RuntimeFunctions.def +++ b/include/swift/Runtime/RuntimeFunctions.def @@ -2570,7 +2570,7 @@ FUNCTION(AsyncLetBegin, ), ATTRS(NoUnwind), EFFECT(RuntimeEffect::Concurrency), - MEMEFFECTS(ArgMemOnly)) + UNKNOWN_MEMEFFECTS) /// void swift_asyncLet_finish( /// AsyncLet *alet, @@ -2592,7 +2592,7 @@ FUNCTION(AsyncLetFinish, ), ATTRS(NoUnwind), EFFECT(RuntimeEffect::Concurrency), - MEMEFFECTS(ArgMemOnly)) + UNKNOWN_MEMEFFECTS) /// void swift_task_run_inline( /// OpaqueValue *result,