I have a fix for this at [SILGen] Ensure that we don't emit a skipped isolated deinit by DougGregor · Pull Request #82545 · swiftlang/swift · GitHub
Doug