Skip to content

Commit

Permalink
Update to match upstream API change (NFC).
Browse files Browse the repository at this point in the history
This method was renamed but staging function kept, switch to renamed variant.

PiperOrigin-RevId: 709047721
  • Loading branch information
jpienaar authored and copybara-github committed Jan 2, 2025
1 parent 5a47426 commit 75e938e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/templates/DialectTransforms/lib/Pass.cpp.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ struct {{ pass_name }} : impl::{{ pass_name }}Base<{{ pass_name }}> {
// FIXME: implement pass
patterns.add<>(context);

// TODO (#1221): Investigate whether folding (default: on) can be skipped here.
(void)applyPatternsGreedily(getOperation(), std::move(patterns));
(void)applyPatternsAndFoldGreedily(getOperation(), std::move(patterns));
}
};

Expand Down

0 comments on commit 75e938e

Please sign in to comment.