Files
swift-mirror/SwiftCompilerSources/Sources/Optimizer/FunctionPasses/TempLValueElimination.swift
Erik Eckstein abbe0e8e95 TempLValueElimination: fix a stupid bug when combining copy_addr with a following destroy_addr
This peephole optimization also combined the instructions if the `destroy_addr` appears before the `copy_addr` in the same basic block.

https://github.com/swiftlang/swift/issues/82466
rdar://154236276
2025-06-25 08:09:55 +02:00

11 KiB