[all-commits] [llvm/llvm-project] 749f7f: [mlir][transform] Fix apply WithPDLPatternsOp with...

Kohei Yamaguchi via All-commits all-commits at lists.llvm.org
Thu Feb 9 01:03:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 749f7f918d3159e3ed331075408a52a53b8b3c0d
      https://github.com/llvm/llvm-project/commit/749f7f918d3159e3ed331075408a52a53b8b3c0d
  Author: Kohei Yamaguchi <fix7211 at gmail.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
    M mlir/test/Dialect/Transform/ops-invalid.mlir
    M mlir/test/Dialect/Transform/ops.mlir

  Log Message:
  -----------
  [mlir][transform] Fix apply WithPDLPatternsOp with non-pattern op

Fix https://github.com/llvm/llvm-project/issues/60209

Fix crash with segmentation fault when transform::WithPDLPatternsOp is
applied with non-pattern op. Added check for existing transform ops with
pattern op.

Reviewed By: ftynse

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




More information about the All-commits mailing list