Skip to content

[5.1] SimplifyCFG: fix a compile time bug from exponential jump threading. #25452

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 14, 2019
Merged

[5.1] SimplifyCFG: fix a compile time bug from exponential jump threading. #25452

merged 1 commit into from
Jun 14, 2019

Conversation

atrick
Copy link
Contributor

@atrick atrick commented Jun 14, 2019

Change the way how to limit jump threading. Instead of counting the
number of jump threading optimizations on a block, count the number of
copied instructions due to jump threading.

rdar://problem/51416939

Patch by Erik Eckstein!

(cherry picked from commit 75ff621)

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

Change the way how to limit jump threading.  Instead of counting the
number of jump threading optimizations on a block, count the number of
copied instructions due to jump threading.

rdar://problem/51416939

Patch by Erik Eckstein!

(cherry picked from commit 75ff621)
@atrick
Copy link
Contributor Author

atrick commented Jun 14, 2019

@swift-ci test.

@atrick
Copy link
Contributor Author

atrick commented Jun 14, 2019

@swift-ci test source compatibility.

@atrick atrick changed the title SimplifyCFG: fix a compile time bug from exponential jump threading. [5.1] SimplifyCFG: fix a compile time bug from exponential jump threading. Jun 14, 2019
@atrick atrick merged commit a3e6aba into swiftlang:swift-5.1-branch Jun 14, 2019
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