Skip to content

Commit

Permalink
Replace deprecated applyPatternsAndFoldGreedily with `applyPatterns…
Browse files Browse the repository at this point in the history
…Greedily` (#1030)

-- Replaces deprecated `applyPatternsAndFoldGreedily` with `applyPatternsGreedily`
  • Loading branch information
jtuyls authored Jan 15, 2025
1 parent c310936 commit 42fa1e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void AMDAIEFuseConsumerIntoLoopPass::runOnOperation() {
changed = false;
// Canonicalize before every iteration to enable more back-to-back fusion
// opportunities.
(void)applyPatternsAndFoldGreedily(funcOp, canonicalizationPatterns);
(void)applyPatternsGreedily(funcOp, canonicalizationPatterns);
Operation *producerOp = computeOp;
// TODO(jornt): Refactor fuseDepth to avoid hardcoding and fuse greedily
// with any depth instead.
Expand Down

0 comments on commit 42fa1e9

Please sign in to comment.