gh-129244: Remove workaround for MSVC compiler crash by mdboom · Pull Request #129263 · python/cpython · GitHub
Skip to content

gh-129244: Remove workaround for MSVC compiler crash - #129263

Merged
mdboom merged 2 commits into
python:mainfrom
mdboom:test-without-pgo-workaround
Jan 25, 2025
Merged

gh-129244: Remove workaround for MSVC compiler crash#129263
mdboom merged 2 commits into
python:mainfrom
mdboom:test-without-pgo-workaround

Conversation

@mdboom

@mdboom mdboom commented Jan 24, 2025

Copy link
Copy Markdown
Contributor

In earlier versions of MSVC, the compiler would crash when doing a PGO build due to the large size of PyEval_EvalFrameDefault. This bug has been fixed upstream in MSVC, so we should remove our workaround.

While this does re-enable optimizations on PyEval_EvalFrameDefault, the performance gains on the benchmarks are unfortunately below the measurement threshold. Still worth doing without a performance benefit just to simplify things.

@neonene

neonene commented Jan 24, 2025

Copy link
Copy Markdown
Contributor

@mdboom

mdboom commented Jan 24, 2025

Copy link
Copy Markdown
Contributor Author

@mdboom
mdboom requested a review from a team as a code owner January 24, 2025 19:10
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.

3 participants