Skip to content

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