Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIRRTL] Add GroupSink pass #6184

Merged
merged 2 commits into from
Sep 26, 2023
Merged

Commits on Sep 26, 2023

  1. [FIRRTL] Add very simple GroupSink pass

    Add a new pass, GroupSink/firrtl-group-sink, which will sink operations
    that are only used by optional groups into optional groups.  This is very
    simple at present.  This pass uses `mlir::controlFlowSink` to sink ops
    into regions.  This only works for very simple things in FIRRTL which have
    normal SSA dominance, e.g., nodes, constants, or primitive operations.
    
    Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
    seldridge committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    7ea9bad View commit details
    Browse the repository at this point in the history
  2. [firtool] Add GroupSink pass to firtool

    Add the GroupSink pass (basic sinking of operations into groups) to the
    firtool pipeline just before LowerGroups.
    
    Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
    seldridge committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    16f4f76 View commit details
    Browse the repository at this point in the history