mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user