[all-commits] [llvm/llvm-project] 04f2b7: [mlir] Fix unsafe create operation in GreedyPatter...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Mon Mar 23 11:51:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 04f2b717d23b17d3bd0a15f6b2b3c3c79a83b955
      https://github.com/llvm/llvm-project/commit/04f2b717d23b17d3bd0a15f6b2b3c3c79a83b955
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2020-03-23 (Mon, 23 Mar 2020)

  Changed paths:
    M mlir/include/mlir/Transforms/FoldUtils.h
    M mlir/lib/Transforms/Utils/FoldUtils.cpp

  Log Message:
  -----------
  [mlir] Fix unsafe create operation in GreedyPatternRewriter

When trying to fold an operation during operation creation check that
the operation folding succeeds before inserting the op.

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




More information about the All-commits mailing list