[all-commits] [llvm/llvm-project] 2aeffc: [mlir:MultiOpDriver] Don't add ops which are not i...

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Thu Jun 2 11:30:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2aeffc6d8ddf3a6eab3b0481869b73678d91856c
      https://github.com/llvm/llvm-project/commit/2aeffc6d8ddf3a6eab3b0481869b73678d91856c
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2022-06-02 (Thu, 02 Jun 2022)

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

  Log Message:
  -----------
  [mlir:MultiOpDriver] Don't add ops which are not in the allowed list

In strict mode, only the new inserted operation is allowed to add to the
worklist. Before this change, it would add the users of a replaced op
and it didn't check if the users are allowed to be pushed into the
worklist

Reviewed By: rriddle

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




More information about the All-commits mailing list