Skip to content

reducer: merge_blocks pass fails to check for invalidation of merge block opportunity #2369

@paulthomson

Description

@paulthomson

MergeBlocksReductionOpportunity assumes it can never be invalidated/disabled by another MergeBlocksReductionOpportunity being applied, but this is not true. A loop header and a return block cannot be merged, and the return block might not start out as a return block; it can become a return block due to another merge.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions