mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Exclusivity] Sink may release release instructions out of access scopes
General case: begin_access A ... strong_release / release_value / destroy end_access The release instruction can be sunk below the end_access instruction, This extends the lifetime of the released value, but, might allow us to Mark the access scope as no nested conflict.
This commit is contained in:
@@ -58,6 +58,8 @@ PASS(AccessEnforcementDom, "access-enforcement-dom",
|
||||
"Remove dominated access checks with no nested conflict")
|
||||
PASS(AccessEnforcementOpts, "access-enforcement-opts",
|
||||
"Access Enforcement Optimization")
|
||||
PASS(AccessEnforcementReleaseSinking, "access-enforcement-release",
|
||||
"Access Enforcement Release Sinking")
|
||||
PASS(AccessEnforcementSelection, "access-enforcement-selection",
|
||||
"Access Enforcement Selection")
|
||||
PASS(AccessEnforcementWMO, "access-enforcement-wmo",
|
||||
|
||||
Reference in New Issue
Block a user