Skip to content

Register allocation should understand pointer lifetimes #151

@DenialAdams

Description

@DenialAdams

With the recent changes to transmute, register allocation regressed. The fundamental reason why is that it doesn't understand that due the following expression

(&X transmute &T)~

the lifetime of the addressof X is very short, which means that it could share the stack slot of non-overlapping lifetimes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions