mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
In case of `var` initializations, SILGen creates a dynamic begin/end_access pair around the initialization store. If it's an initialization (and not a re-assign) it's guanranteed that it's an exlusive access and we can convert the access to an `[init] [static]` access. https://github.com/apple/swift/issues/66496