mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
If a pass forgot to call invalidateAnalysis but deleted some instructions, the pass-manager can fix this. Currently following passes do not invalidate analysis when they change the SIL: * LowerTupleAddrConstructor * DestroyAddrHoisting * MoveOnlyChecker * PredictableDeadAllocationElimination Ideally we should fix those passes. But with this addition in the pass-manager it's not strictly necessary. Fixes a compiler crash.
44 KiB
44 KiB