Skip to content

Propagate and replace constants or operands on redundant operations #3

@DarioSamo

Description

@DarioSamo

There's currently no built-in propagation of constant evaluations in the instructions or remapping of operators if certain logical operators select one result over the other. The propagated results are only taken into consideration for branches and switches, but other instructions are never patched with the results of the evaluation.

This would help to further eliminate some instructions where the chain of operations is not deleted while a large part of the tree can evaluate as a constant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions