[all-commits] [llvm/llvm-project] f875e5: [MLIR] fix greedy pattern rewrite driver iteration...

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Sun Apr 5 06:47:02 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f875e55ba92732a20b0be2e4f11046c79ff0c22a
      https://github.com/llvm/llvm-project/commit/f875e55ba92732a20b0be2e4f11046c79ff0c22a
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2020-04-05 (Sun, 05 Apr 2020)

  Changed paths:
    M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp

  Log Message:
  -----------
  [MLIR] fix greedy pattern rewrite driver iteration on change

Removing dead ops should make the outer loop of the pattern rewriting
driver run again. Although its operands are added to the worklist, if no
changes happenned to them or remaining ops in the worklist, the driver
wouldn't run once again - but it should be.

Differential Revision: https://reviews.llvm.org/D77483




More information about the All-commits mailing list