Skip to content

[Synth] Add canonicalization for choice #9932

@uenoku

Description

@uenoku

Add following canonicalization. Operands of choices can be transitively merged.

%0 = synth.choice %x, %y, %constant
=>
%constant 
%0 = synth.choice %x, %y, %z:
%1 = synth.choice %0, %u:
%2 = synth.choice %z, %v

=> %0 = synth.choice %x, %y, %z, %u, %v

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions