Skip to content

A smattering of cleanups in uop debug output and lltrace #112980

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 4 commits into from
Dec 12, 2023

Conversation

gvanrossum
Copy link
Member

In lltrace_instruction(), now pass opcode, oparg in from the caller, so we get more accurate output in some cases (mostly DISPATCH_SAME_OPARG() or DISPATCH_INLINED()).

Also remove an outdated comment from remove_unneeded_uops() in optimizer_analysis.c.

@gvanrossum gvanrossum marked this pull request as ready for review December 11, 2023 22:09
@gvanrossum gvanrossum merged commit 5b86644 into python:main Dec 12, 2023
@gvanrossum gvanrossum deleted the uops-cleanups branch December 12, 2023 00:42
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
* Include destination T1 opcode in Error debug message
* Include destination T1 opcode in DEOPT debug message
* Remove obsolete comment from remove_unneeded_uops
* Change lltrace_instruction() to print caller's opcode/oparg
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
* Include destination T1 opcode in Error debug message
* Include destination T1 opcode in DEOPT debug message
* Remove obsolete comment from remove_unneeded_uops
* Change lltrace_instruction() to print caller's opcode/oparg
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.

1 participant