Skip to content

Conversation

@eeckstein
Copy link
Contributor

  • Explanation: The analysis to check if an alloc_ref outlives its "inner" liferange had a bug which resulted in a crash in the StackPromotion pass. It is very rare that this bug shows up and I only found it by coincidence. Still, it makes sense to fix it in 5.9 because the risk is very low.

  • Issue: rdar://112275272

  • Risk: Very low. It's a small change which makes the optimization more conservative.

  • Testing: With a regression test

  • Reviewer: @atrick

  • Main branch PR: StackPromotion: fix a crash due to a problem in liferange evaluation #67331

The analysis to check if an alloc_ref outlives it's "inner" liferange had a bug which resulted in a crash in the StackPromotion pass

rdar://112275272
@eeckstein eeckstein requested a review from a team as a code owner July 19, 2023 07:18
@eeckstein
Copy link
Contributor Author

@swift-ci test

@tbkka
Copy link
Contributor

tbkka commented Jul 19, 2023

We're getting close to 5.9 and I don't think this is critical enough. Let's hold for later.

@eeckstein eeckstein merged commit 454b98e into swiftlang:release/5.9 Jul 26, 2023
@eeckstein eeckstein deleted the fix-stack-promotion-5.9 branch July 26, 2023 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants