Skip to content

gh-131798: split _CALL_BUILTIN_CLASS to smaller uops#148094

Merged
kumaraditya303 merged 4 commits intopython:mainfrom
kumaraditya303:jit-builtins
Apr 10, 2026
Merged

gh-131798: split _CALL_BUILTIN_CLASS to smaller uops#148094
kumaraditya303 merged 4 commits intopython:mainfrom
kumaraditya303:jit-builtins

Conversation

@kumaraditya303
Copy link
Copy Markdown
Contributor

@kumaraditya303 kumaraditya303 commented Apr 4, 2026

PyObject *callable_o = sym_get_const(ctx, callable);
if (callable_o && sym_matches_type(callable, &PyType_Type)) {
PyTypeObject *tp = (PyTypeObject *)callable_o;
if (tp->tp_vectorcall != NULL) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checking, they are not expected to modify this without modifying the type version right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think tp_vectorcall is supposed to be modified after a type is created

@kumaraditya303 kumaraditya303 enabled auto-merge (squash) April 10, 2026 17:00
@kumaraditya303 kumaraditya303 merged commit 8f17140 into python:main Apr 10, 2026
74 checks passed
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.

2 participants