[all-commits] [llvm/llvm-project] 618735: [mlir][transform] Fix crash when consuming an op i...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Sep 27 03:40:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6187354095a64caf573379df56b6d880abe40130
      https://github.com/llvm/llvm-project/commit/6187354095a64caf573379df56b6d880abe40130
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h
    M mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp
    M mlir/test/Dialect/Transform/expensive-checks.mlir

  Log Message:
  -----------
  [mlir][transform] Fix crash when consuming an op in a named sequence (#67437)

Fix a crash when consuming an op in a named sequence, when the same op
is also mapped in the caller's mapping. Ops must be removed from *all*
mappings during the "expensive checks". Otherwise, we may have dangling
pointers in the mappings data structures, which interfere with the
expensive checks.




More information about the All-commits mailing list