Skip to content

Conversation

@rastogishubham
Copy link

The CoroSplit pass has it's own salvageDebugInfo implementation and it's DIExpressions do not get folded. Add a call to
DIExpression::foldConstantMath in the CoroSplit pass to reduce the size of those DIExpressions.

The compile time tracker shows no significant increase in compile time either.

rdar://134675402
(cherry picked from commit 7a91af4)

The CoroSplit pass has it's own salvageDebugInfo implementation and it's
DIExpressions do not get folded. Add a call to
DIExpression::foldConstantMath in the CoroSplit pass to reduce the size
of those DIExpressions.

[The compile time tracker shows no significant increase in compile time
either.](https://llvm-compile-time-tracker.com/compare.php?from=bdf02249e7f8f95177ff58c881caf219699acb98&to=e1c1c1759c06bc4c42f79eebdb0e3cd45219cef4&stat=instructions:u)

rdar://134675402
(cherry picked from commit 7a91af4)
@rastogishubham
Copy link
Author

@swift-ci please test llvm

@rastogishubham
Copy link
Author

@swift-ci please test

@rastogishubham
Copy link
Author

@swift-ci please test windows

@rastogishubham rastogishubham merged commit c663708 into swiftlang:stable/20240723 Sep 10, 2024
@rastogishubham rastogishubham deleted the CoroSplitSalvageExpressionStable branch September 10, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant