Skip to content

Allow recording uops after specializing uops #148285

@markshannon

Description

@markshannon

Currently, this is illegal in bytecodes.c:

macro(TO_BOOL) = 
    _SPECIALIZE_TO_BOOL +
    _RECORD_TOS_TYPE +
    unused/2 +
   _TO_BOOL;

because both specializing and recording uops must be first. Since specializing uops are only present in tier 1, and recording uops are only present in tier 2, there should be no conflict.

We should fix Tools/cases_generator/analyzer.py to allow a recording uop to follow a specializing uop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.15new features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions