You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix getAccessedStorageFromAddress to handle AddressToPointer.
This pattern is normally folded away:
%ga = global_addr @Gvar : $*Int64
%ptr = address_to_pointer %ga : $*Int64 to $Builtin.RawPointer
%adr = pointer_to_address %ptr : $Builtin.RawPointer to [strict] $*Int64
%access = begin_access [read] [dynamic] [no_nested_conflict] %adr : $*Int64
However, now that we handle address type phi arguments in the SIL
verifier, we could see this pattern. [In the long term, when
address-type phis are universally prohibited, all of this stuff
becomes irrelevant.]
Fixes <rdar://47555992> [Source Compat] AudioKit: SIL verification
failed: Unknown formal access pattern: storage.
0 commit comments