Skip to content

The bug caused by the order of lower and ssa #173

@weiwenhao

Description

@weiwenhao

Following the SSA phase, the temp_var generated in the lower phase was not constructed during the live-in phase of SSA. This resulted in missing virtual register replacements during register allocation.

In fact, the linear scan register paper proposed a coarse-grained live estimation scheme. It was previously discovered that this caused virtual register replacement exceptions due to live omissions. The solution at the time was to replace the coarse-grained live estimation with the precise live estimation from SSA. Now, the real issue might be the omission of lower temporary variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions