Files
swift-mirror/SwiftCompilerSources/Sources/Optimizer/Utilities/PhiUpdater.swift
Erik Eckstein 012aa6227d SIL: when updating borrowed-from instructions, remove the old enclosing values first
When an optimization updates borrowed-from instruction it might be necessary to remove the old enclosing values from the borrowed-from instructions.
An optimization might transform the SIL in a way that an existing enclosing value is not valid anymore.
Fixes a compiler crash:
rdar://142991910
2025-01-21 08:21:26 +01:00

9.0 KiB