René's URL Explorer Experiment


Title: GH-118095: Add tier 2 support for YIELD_VALUE by markshannon · Pull Request #118380 · python/cpython · GitHub

Open Graph Title: GH-118095: Add tier 2 support for YIELD_VALUE by markshannon · Pull Request #118380 · python/cpython

X Title: GH-118095: Add tier 2 support for YIELD_VALUE by markshannon · Pull Request #118380 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: This PR: Makes a few changes to make YIELD_VALUE suitable for tier 2 Adds a few conditions to the tier 2 optimizer pipeline to support the new _YIELD_VALUE micro-op. Adds a case for _FOR_ITER_GEN_...

X Description: This PR: Makes a few changes to make YIELD_VALUE suitable for tier 2 Adds a few conditions to the tier 2 optimizer pipeline to support the new _YIELD_VALUE micro-op. Adds a case for _FOR_ITER_GEN_...

Opengraph URL: https://github.com/python/cpython/pull/118380

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:91a77e81-eb4b-e167-9a5a-b59b9c462a5c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE6DA:20BA8:3338D7:43E96F:6B0235B7
html-safe-nonce38142091257b99ce12a4784a40678e082212fc1878c792aa33aba8d8b91cc098
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkRBOjIwQkE4OjMzMzhENzo0M0U5NkY6NkIwMjM1QjciLCJ2aXNpdG9yX2lkIjoiMzEwMzE2NzMyNDAyMzMwNTY1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0280258a97deefa9eda90fecc788354b14225824476741220f07a992f9a197e6
hovercard-subject-tagpull_request:1845104379
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/118380/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0fe52e9e547bee65567637c87472a1f8fdf84a096f037c001d7f4b1f87a928e1/python/cpython/pull/118380
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0fe52e9e547bee65567637c87472a1f8fdf84a096f037c001d7f4b1f87a928e1/python/cpython/pull/118380
og:image:altThis PR: Makes a few changes to make YIELD_VALUE suitable for tier 2 Adds a few conditions to the tier 2 optimizer pipeline to support the new _YIELD_VALUE micro-op. Adds a case for _FOR_ITER_GEN_...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/118380#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F118380
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F118380
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/118380
Reloadhttps://github.com/python/cpython/pull/118380
Reloadhttps://github.com/python/cpython/pull/118380
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:tier-2-yield-valuehttps://github.com/faster-cpython/cpython/tree/tier-2-yield-value
Conversationhttps://github.com/python/cpython/pull/118380
Commits3 (3)https://github.com/python/cpython/pull/118380/commits
Checkshttps://github.com/python/cpython/pull/118380/checks
Files changedhttps://github.com/python/cpython/pull/118380/files
GH-118095: Add tier 2 support for YIELD_VALUEhttps://github.com/python/cpython/pull/118380#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:tier-2-yield-valuehttps://github.com/faster-cpython/cpython/tree/tier-2-yield-value
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Apr 29, 2024https://github.com/python/cpython/pull/118380#issue-2268355355
Please reload this pagehttps://github.com/python/cpython/pull/118380
Increase the number of micro-ops that we can handle in tier 2 #118095https://github.com/python/cpython/issues/118095
Please reload this pagehttps://github.com/python/cpython/pull/118380
https://github.com/markshannon
Add tier 2 support for YIELD_VALUEhttps://github.com/python/cpython/pull/118380/commits/3e1b870c4c50373b5c9cb717177cf12f977eae1d
3e1b870https://github.com/python/cpython/pull/118380/commits/3e1b870c4c50373b5c9cb717177cf12f977eae1d
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 29, 2024 https://github.com/python/cpython/pull/118380#ref-issue-2252568347
Increase the number of micro-ops that we can handle in tier 2 #118095 https://github.com/python/cpython/issues/118095
https://github.com/markshannon
No entry_frame in tier 2https://github.com/python/cpython/pull/118380/commits/27a2f3f546310dbc3dceeb76789f1d41b38fa3e3
27a2f3fhttps://github.com/python/cpython/pull/118380/commits/27a2f3f546310dbc3dceeb76789f1d41b38fa3e3
https://github.com/markshannon
markshannonhttps://github.com/markshannon
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Apr 29, 2024https://github.com/python/cpython/pull/118380#event-12639847390
https://github.com/markshannon
_PyOpcode_Deopt isn't available to the JIThttps://github.com/python/cpython/pull/118380/commits/71a203af16e283dfadae216494a5d9f30c538332
71a203ahttps://github.com/python/cpython/pull/118380/commits/71a203af16e283dfadae216494a5d9f30c538332
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Apr 29, 2024https://github.com/python/cpython/pull/118380#issuecomment-2082657107
statshttps://github.com/faster-cpython/benchmarking-public/blob/main/results/bm-20240429-3.13.0a6%2B-3e1b870-PYTHON_UOPS/bm-20240429-azure-x86_64-faster%252dcpython-tier_2_yield_value-3.13.0a6%2B-3e1b870-pystats-vs-base.md
Please reload this pagehttps://github.com/python/cpython/pull/118380
https://github.com/markshannon
markshannonhttps://github.com/markshannon
April 29, 2024 12:58https://github.com/python/cpython/pull/118380#event-12642707615
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Fidget-Spinnerhttps://github.com/Fidget-Spinner
gvanrossumhttps://github.com/gvanrossum
code ownershttps://github.com/python/cpython/blob/23d0371bb99b1df183c36883e256f82fdf6a4bea/.github/CODEOWNERS#L41
April 29, 2024 12:58https://github.com/python/cpython/pull/118380#event-12642707724
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Apr 29, 2024https://github.com/python/cpython/pull/118380#event-12642708298
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Apr 30, 2024 https://github.com/python/cpython/pull/118380#pullrequestreview-2030796309
View reviewed changes https://github.com/python/cpython/pull/118380/files/71a203af16e283dfadae216494a5d9f30c538332
Python/bytecodes.chttps://github.com/python/cpython/pull/118380/files/71a203af16e283dfadae216494a5d9f30c538332#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
iritkatrielhttps://github.com/iritkatriel
Apr 30, 2024https://github.com/python/cpython/pull/118380#discussion_r1584469712
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/118380
markshannonhttps://github.com/markshannon
Apr 30, 2024https://github.com/python/cpython/pull/118380#discussion_r1584547412
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#118423https://github.com/python/cpython/issues/118423
Please reload this pagehttps://github.com/python/cpython/pull/118380
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Apr 30, 2024 https://github.com/python/cpython/pull/118380#pullrequestreview-2030814601
View reviewed changes https://github.com/python/cpython/pull/118380/files/71a203af16e283dfadae216494a5d9f30c538332
iritkatrielhttps://github.com/iritkatriel
https://github.com/python/cpython/pull/118380#pullrequestreview-2030814601
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/118380
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Apr 30, 2024https://github.com/python/cpython/pull/118380#event-12655347635
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Apr 30, 2024 https://github.com/python/cpython/pull/118380#pullrequestreview-2030825039
View reviewed changes https://github.com/python/cpython/pull/118380/files/71a203af16e283dfadae216494a5d9f30c538332
Fidget-Spinnerhttps://github.com/Fidget-Spinner
https://github.com/python/cpython/pull/118380#pullrequestreview-2030825039
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/118380
https://github.com/markshannon
markshannonhttps://github.com/markshannon
5b05d45https://github.com/python/cpython/commit/5b05d452cd20d9f0cfecdeec90adad3af5e4dfff
Apr 30, 2024https://github.com/python/cpython/pull/118380#event-12655856752
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Apr 30, 2024https://github.com/python/cpython/pull/118380#event-12655857392
https://github.com/markshannon
markshannonhttps://github.com/markshannon
April 30, 2024 10:33https://github.com/python/cpython/pull/118380#event-12655857656
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Apr 30, 2024 https://github.com/python/cpython/pull/118380#pullrequestreview-2031581219
View reviewed changes https://github.com/python/cpython/pull/118380/files/71a203af16e283dfadae216494a5d9f30c538332
Python/optimizer.chttps://github.com/python/cpython/pull/118380/files/71a203af16e283dfadae216494a5d9f30c538332#diff-de09f74c4306be5ef0284d665091976873569094d645a35b48467ea2a11d67f7
gvanrossumhttps://github.com/gvanrossum
Apr 30, 2024https://github.com/python/cpython/pull/118380#discussion_r1584944427
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@markshannonhttps://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/118380
https://github.com/corona10
corona10https://github.com/corona10
Apr 30, 2024https://github.com/python/cpython/pull/118380#issuecomment-2085525132
Please reload this pagehttps://github.com/python/cpython/pull/118380
https://github.com/corona10
corona10https://github.com/corona10
Apr 30, 2024 https://github.com/python/cpython/pull/118380#ref-issue-2266961968
New warning: assignment to ‘_PyInterpreterFrame *’ from incompatible pointer type ‘_Py_UopsSymbol *’ [-Wincompatible-pointer-types] #118343 https://github.com/python/cpython/issues/118343
SonicFieldhttps://github.com/SonicField
May 8, 2024 https://github.com/python/cpython/pull/118380#ref-commit-573070c
https://github.com/markshannon
https://github.com/SonicField
pythonGH-118095https://github.com/python/cpython/issues/118095
: Add tier 2 support for YIELD_VALUE (https://github.com/SonicField/cpython/commit/573070cae952f5b06c38fc17695c82ce2c67e5d9
pythonGH-118380https://github.com/python/cpython/pull/118380
)https://github.com/SonicField/cpython/commit/573070cae952f5b06c38fc17695c82ce2c67e5d9
573070chttps://github.com/SonicField/cpython/commit/573070cae952f5b06c38fc17695c82ce2c67e5d9
SonicFieldhttps://github.com/SonicField
May 8, 2024 https://github.com/python/cpython/pull/118380#ref-commit-9bdbdae
https://github.com/markshannon
https://github.com/SonicField
pythonGH-118095https://github.com/python/cpython/issues/118095
: Add tier 2 support for YIELD_VALUE (https://github.com/SonicField/cpython/commit/9bdbdaeb7b66cce77d10f88a4d7f6bb269a710ad
pythonGH-118380https://github.com/python/cpython/pull/118380
)https://github.com/SonicField/cpython/commit/9bdbdaeb7b66cce77d10f88a4d7f6bb269a710ad
9bdbdaehttps://github.com/SonicField/cpython/commit/9bdbdaeb7b66cce77d10f88a4d7f6bb269a710ad
https://github.com/tomasr8
tomasr8https://github.com/tomasr8
Oct 14, 2024 https://github.com/python/cpython/pull/118380#ref-pullrequest-2586420425
gh-118423: Add INSTRUCTION_SIZE macro to code generator #125467 https://github.com/python/cpython/pull/125467
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F118380
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/python/cpython/pull/118380/files/71a203af16e283dfadae216494a5d9f30c538332
https://github.com/iritkatriel
iritkatriel https://github.com/iritkatriel
https://github.com/python/cpython/pull/118380/files/71a203af16e283dfadae216494a5d9f30c538332
https://github.com/Fidget-Spinner
Fidget-Spinner https://github.com/Fidget-Spinner
https://github.com/python/cpython/pull/118380/files/71a203af16e283dfadae216494a5d9f30c538332
Please reload this pagehttps://github.com/python/cpython/pull/118380
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/118380
https://github.com/markshannon
https://github.com/corona10
https://github.com/iritkatriel
https://github.com/gvanrossum
https://github.com/Fidget-Spinner
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.