[ObjC][ARC] Don't form a StoreStrong call if it is unsafe to move the
release call findSafeStoreForStoreStrongContraction checks whether it's safe to move the release call to the store by inspecting all instructions between the two, but was ignoring retain instructions. This was causing objects to be released and deallocated before they were retained. rdar://81668577
Loading
Please sign in to comment