Skip to content

[cranelift] Simplify SSABuilder with basic block #1259

Closed
@Y-Nak

Description

@Y-Nak

Feature

Current implementation of SSABuilder has redundant fields and depends on redundant function/struct in order to work with EBB.
We no longer need them and can simplify SSABuilder when assuming all blocks are BasicBlock.

Benefit

Readability and (small) performance improvement.

Implementation

Remove extra fields and functions related to EBB from frontend/src/ssa.rs and frontend/src/frontend.rs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions