mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Incomplete liveranges in the dead-end exit block can cause a missing adjacent phi-argument for a re-borrow if there is a borrow-scope is in the loop. But even when we have complete lifetimes, it's probably not worth rotating a loop where the header block branches to a dead-end block. Fixes a SIL verifier crash