Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Move duplicate LOAD_SMALL_INT optimization from codegen to CFG #130480

Copy link
Copy link
Closed
@WolframAlph

Description

@WolframAlph
Issue body actions

Feature or enhancement

Proposal:

Addressing #129568 (comment)

Currently both codegen & peepholer optimize LOAD_CONST for small integers to LOAD_SMALL_INT. CFG can do it alone, so we don't have this logic in 2 places.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.