Skip to content

Commit 25a69de

Browse files
committed
add "experimental" to async demotion flag
1 parent b688a1f commit 25a69de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/swift/Option/FrontendOptions.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ def disable_sil_partial_apply : Flag<["-"], "disable-sil-partial-apply">,
505505
def enable_spec_devirt : Flag<["-"], "enable-spec-devirt">,
506506
HelpText<"Enable speculative devirtualization pass.">;
507507

508-
def enable_async_demotion : Flag<["-"], "enable-async-demotion">,
508+
def enable_async_demotion : Flag<["-"], "enable-experimental-async-demotion">,
509509
HelpText<"Enables an optimization pass to demote async functions.">;
510510

511511
def disable_access_control : Flag<["-"], "disable-access-control">,

test/SILOptimizer/async-demotion/basic.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend -enable-async-demotion -disable-availability-checking -module-name main -O -emit-sil -primary-file %s | %FileCheck %s --implicit-check-not hop_to_executor
1+
// RUN: %target-swift-frontend -enable-experimental-async-demotion -disable-availability-checking -module-name main -O -emit-sil -primary-file %s | %FileCheck %s --implicit-check-not hop_to_executor
22

33
// REQUIRES: swift_in_compiler
44
// REQUIRES: concurrency

0 commit comments

Comments
 (0)